From 1e780505b4dd0da5c1ce223162d0d25bf311ce0c Mon Sep 17 00:00:00 2001 From: Nick Hale <4175918+njhale@users.noreply.github.com> Date: Thu, 23 May 2024 13:59:13 -0400 Subject: [PATCH] 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 <4175918+njhale@users.noreply.github.com> --- examples/sentiments.gpt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/sentiments.gpt b/examples/sentiments.gpt index ab62c76a..e72be2d5 100644 --- a/examples/sentiments.gpt +++ b/examples/sentiments.gpt @@ -1,11 +1,8 @@ tools: github.com/gptscript-ai/browser, sentiments description: get the sentiments expressed in a tweet -args: url: URL of the tweet to analyze +parameters: url: URL of the tweet to analyze -Perform the actions in the following order: - -Get the text of the tweet referenced by $url. -Then, analyze the sentiments expressed in this tweet. +Get the text of the tweet at ${url}. After getting the text, get its sentiments. --- name: sentiments