Skip to content

Commit

Permalink
chore: update image tools context headers and footers
Browse files Browse the repository at this point in the history
Update the start and end of image tools contexts to align more closely
with those for other tools.

Signed-off-by: Nick Hale <[email protected]>
  • Loading branch information
njhale committed Dec 30, 2024
1 parent 56283a2 commit 4d411df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions images/tool.gpt
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ Type: context

#!sys.echo

## START TOOL USAGE: Generate Images
# START INSTRUCTIONS: Generate Images tool

The Generate Images tool returns JSON containing the `workspaceFilePath` and `downloadUrl` of every image it generates.
Always use the `downloadUrl` of a generated image when embedding it in markdown.
Unless otherwise specified, always display the images you generate in embedded markdown after generating them.
Never provide the `downloadUrl` to the user as a clickable link.

## END TOOL USAGE: Generate Images
# END INSTRUCTIONS: Generate Images tool

---
Name: Analyze Images Context
Type: context

#!sys.echo

## START TOOL USAGE: Analyze Images
# START INSTRUCTIONS: Analyze Images tool

Use the Analyze Images tool to whenever you need to inspect, compare, or answer questions about the contents of images.

Expand All @@ -57,7 +57,7 @@ When calling the Analyze Images tool, always provide a JSON array containing one
e.g. Analyzing a single image: ["https://example.com/image2.png"]
e.g. Analyzing multiple images: ["https://example.com/image1.webp", "cool.jpg", "cow.webp", "generated_image_defg1234.png", "https://example.com/image2.png"]

## END TOOL USAGE: Analyze Images tool
# END INSTRUCTIONS: Analyze Images tool

---
!metadata:*:category
Expand Down

0 comments on commit 4d411df

Please sign in to comment.