-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add tool.gpt file to allow querying tools.gptscript.ai
Signed-off-by: tylerslaton <[email protected]>
- Loading branch information
1 parent
4cc23b9
commit 6ea3a24
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
tools: github.com/gptscript-ai/tools | ||
|
||
What tools can I use to search the internet? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: tool-search | ||
tools: sys.http.get | ||
description: Finds a tool that matches the prompt provided, if one exists. | ||
args: prompt: Prompt that describes a tool to be found | ||
|
||
Do each of the following one after the other. | ||
1. Go to "https://tools.gptscript.ai/api/search". DO NOT CHANGE THIS URL IN ANY WAY. | ||
2. From the response, look for a tool that is described by ${prompt}. | ||
3. Return a list of names and URLs for each tool you find. Each URL should be in | ||
the form of https://tools.gptscript.ai/{github url without https://}. If more than one | ||
result comes from the same array then just bundle them together under then name of the | ||
first tool in the array. |