Skip to content

Commit 1e78050

Browse files
committed
docs: improve sentiments example model compatibility
Re-engineer the `sentiments.gpt` example tool body prompt wording so that it works with `claude-3-opus` and `gemini-1.5`. Signed-off-by: Nick Hale <[email protected]>
1 parent 4a35d81 commit 1e78050

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/sentiments.gpt

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
tools: github.com/gptscript-ai/browser, sentiments
22
description: get the sentiments expressed in a tweet
3-
args: url: URL of the tweet to analyze
3+
parameters: url: URL of the tweet to analyze
44

5-
Perform the actions in the following order:
6-
7-
Get the text of the tweet referenced by $url.
8-
Then, analyze the sentiments expressed in this tweet.
5+
Get the text of the tweet at ${url}. After getting the text, get its sentiments.
96

107
---
118
name: sentiments

0 commit comments

Comments
 (0)