Skip to content

Instantly share code, notes, and snippets.

@gerred
Created April 5, 2024 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerred/7fd7db769105c98026049c11bdc62d05 to your computer and use it in GitHub Desktop.
Save gerred/7fd7db769105c98026049c11bdc62d05 to your computer and use it in GitHub Desktop.
# starter.gpt
tools: gptscript.docs, sys.write, sys.exec
Write the list of tools built into GPTScript in a markdown file called `tools.gpt`.
---
name: gptscript.docs
description: Access the GPTScript docs. Use this tool to answer questions about GPTScript, understand the GPTScript syntax, get documentation about the GPTScript CLI, and to write end edit GPTScript files.
args: query: The query to search for
tools: sys.http.html2text?
First, download the content of "https://raw.githubusercontent.com/gptscript-ai/gptscript/main/README.md". Look for content that would best answer the query ${query}.
With all of that information try your best to proide an answer. Answers may be in the form of another GPTScript file. New tools are allowed.
If you can not retrieve a referenced URL then just skip that item and make a reference that that URL was skipped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment