Skip to content

Instantly share code, notes, and snippets.

@mikeknoop
Last active March 22, 2023 05:32
Show Gist options
  • Save mikeknoop/12ca87b99b3078442c6816631dfc9a78 to your computer and use it in GitHub Desktop.
Save mikeknoop/12ca87b99b3078442c6816631dfc9a78 to your computer and use it in GitHub Desktop.
LLM tool use example
Rules:
* only output valid JSON
Example JSON action list:
{"action":"Example CRM: Create Lead","params":{"first_name":"str","last_name":"str","notes":"str"}}
Example input: add joe smith to my crm, he really loves cheese
Example output: {"action":"Example CRM: Create Lead","params":{"first_name":"joe","last_name":"smith","notes":"joe really loves cheese"}}
Real JSON action list:
{"action":"Slack: Send Channel Message","params":{"Message_Text":"str","Channel":"str"}}
{"action":"Gmail: Find Email","params":{"Query":"str"}}
Real input: write and send a poem about automation to the #testing channel in slack
Real output:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment