Gorilla from UC Berkeley #141
simonw
started this conversation in
Tips and tricks
Replies: 1 comment
-
Thanks for starting this discussion @simonw Excited to see 🦍 Gorilla 🤝 llm integrations! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Gorilla:
It can generate code and explanations for working directly with those Python APIs.
They offer a free hosted version that you can try out, which imitates the OpenAI API. This means you can run
llm
against it using the OpenAI compatible models mechanism.I got this working just now. First I ran this command to find the right folder:
dirname "$(llm logs path)"
On my machine that output:
So this should work for everyone:
Create a
extra-openai-models.yaml
file in that folder:Now open it in your editor. I use
code
for VS Code:I added this block of YAML to that file:
Now I can run prompts against that model like this:
llm -m gorilla 'Convert audio to text'
Output:
Beta Was this translation helpful? Give feedback.
All reactions