-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolhouse tool use cookbook #12
base: main
Are you sure you want to change the base?
Toolhouse tool use cookbook #12
Conversation
This commit adds a new cookbook that shows the user how to use tools with a model hosted on TogetherAI
Added a CTA button for Colab for better DX
Renamed notebook to be more explanatory at first glance
Deleted old notebook
Clean up and refinements
The Colab button URL was wrong, I updated it to point to Tool_use_with_Toolhouse.ipynb
"outputs": [], | ||
"source": [ | ||
"from google.colab import userdata\n", | ||
"client = OpenAI(base_url = \"https://api.together.xyz/v1\", api_key=userdata.get(\"TOGETHER_API_KEY\"))\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the together python API here.
Details in docs here - https://docs.together.ai/docs/quickstart#3-run-your-first-query-against-a-model
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments - looks good overall - can we run all the code cells and then should be good to merge.
- uses llama 3.3 - syntactical adjustments for new model
Updated as requested - running all code cells. @zainhas |
Tool use is really important for any LLM model that allows it.
This colab adds an introductory overview and use-case to tool calling with LLaMa 3.1 hosted on Together.
It tries to mimic a real world application: scraping data from a specific social media network and creating an artistic output image.
I've added as many details to make it newcomer proof and I appreciate any insight you might find to improve this work during review.