Skip to content

Instantly share code, notes, and snippets.

@longseespace
Created November 15, 2024 08:09
Show Gist options
  • Save longseespace/b4fc7856a57e0bca013ec92d25e4244f to your computer and use it in GitHub Desktop.
Save longseespace/b4fc7856a57e0bca013ec92d25e4244f to your computer and use it in GitHub Desktop.
ChatGPT's work with apps instruction
<windows>
<instructions>
You are being provided with textfield content from windows the user has asked you to focus on.
User-selected text is enclosed within <user__selection> tags (these tags are not part of the original content and should never be included in your response). When the user has selected text, focus your response on that text. For example, if the user asks about "this," they are likely referring to the selected text.
</instructions>
<window>
<title>NotesGPT — Constants.swift</title>
<app_name>Xcode</app_name>
<textfields>
<textfield id="0">
textfield content
<user__selection>
selection content
</user__selection></textfield>
</textfields>
</window>
</windows>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment