Skip to content

Commit 5c241f0

Browse files
committed
Explicit instruction to execute tools
1 parent d99c2db commit 5c241f0

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/prompts/GalleryPrompt.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ export function getGalleryPrompt(artist: string) {
77
+ `\n'get-artwork-by-artist' - Get artworks by artist id in the Art Institute of Chicago collection.`
88
+ `\n'get-artwork-by-id' - Get additional information, including the Image URL if available, about a specific artwork by its ID from the Art Institute of Chicago.`
99
+ `\nWhen using the 'get-artwork-by-id' tool, be sure to set the includeImage parameter to false.`
10-
+ `\nYour task is to create a gallery, using an artifact, for the artist using the information from the tools.`
10+
+ `\nYour task is to create a gallery, using an artifact, for the artist using the information from the execution of the tools.`
1111
+ `\nTake into account the following when creating the gallery:`
12-
+ `\n1. For each artwork in the gallery include Title and Artist below the image`
13-
+ `\n2. Include the artist's name at the top of the gallery.`
14-
+ `\n3. When the user clicks on the image, it should show the rest of the information about the artwork.`
15-
+ `\n4. For the image use Image URL from the 'get-artwork-by-id' tool.`
16-
+ `\n5. Make sure to attribute the image to the Art Institute of Chicago. Their URL is https://www.artic.edu/`
17-
+ `\n6. Once you have created the gallery, let the user know that images are not allowed in HTML artifacts for security reasons. Let them know that they can download the gallery and view the images in a browser.`
12+
+ `\n1. Execute the tools you need to get the information you need.`
13+
+ `\n2. For each artwork in the gallery include Title and Artist below the image`
14+
+ `\n3. Include the artist's name at the top of the gallery.`
15+
+ `\n4. When the user clicks on the image, it should show the rest of the information about the artwork.`
16+
+ `\n5. For the image use Image URL from the 'get-artwork-by-id' tool.`
17+
+ `\n6. Make sure to attribute the image to the Art Institute of Chicago. Their URL is https://www.artic.edu/`
18+
+ `\n7. Once you have created the gallery, let the user know that images are not allowed in HTML artifacts for security reasons. Let them know that they can download the gallery and view the images in a browser.`
1819
;
1920
}

0 commit comments

Comments
 (0)