Skip to content

Commit 9e7a3ff

Browse files
authored
Merge pull request #385 from njhale/docs/example-sentiments
docs: improve sentiments example model compatibility
2 parents 22b6993 + 1e78050 commit 9e7a3ff

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)