Comments (5)
Hello! Groq
currently does not support function calling. You can check out our Gorq cookbook and use Groq
directly.
Since many providers use OpenAI
API format, we use OpenAILike
to access them.
from phidata.
Thanks @antonsapt4, as @ysolanky pointed out Groq doesnt support tools yet. As soon as they do we should have that available as well :)
from phidata.
Thanks @ysolanky @ashpreetbedi. Yes just read on groq website that the endpoint is not supported function calling.
After playing around, looks like only Ollama with openhermes model that can do tools calling, do you know what local model that can use the tools / function calling?
LM Studio even tho using the same OpenHermes (https://huggingface.co/TheBloke/OpenHermes-2.5-Mistral-7B-GGUF) looks like still cannot call tools using the code above.
Really appreciate if anyone had any experience using different model beside Ollama OpenHermes to have comparison.
from phidata.
@antonsapt4 sadly currently we've only seen openhermes to be decent-ish at tool calling. We're still very early in the function calling journey, even so much that most LLM providers dont support it yet. We'll see this become mainstream in the next few months and you'll get more models/LLM providers supporting it
from phidata.
@antonsapt4 try out hermes2 for function calling, it is very very good for a 7b model: https://github.com/phidatahq/phidata/tree/main/cookbook/hermes2
from phidata.
Related Issues (20)
- What is 'resources' in example scripts? HOT 1
- how to make lmstudio embedder HOT 2
- Seeing this example is unclear, so HOT 1
- AttributeError: module 'click' has no attribute 'get_os_args' HOT 1
- OpenAILike LLM error out with 422 HOT 17
- Can I load older chat history? HOT 1
- Deprecated function role messages in OpenAI LLM HOT 1
- How do you create an assistant, increase memory storage, and then call multiple different tools?
- What is a run_id and user_id HOT 3
- how to use web search in ollama? HOT 7
- Set api key on Windows HOT 1
- unable to work on autorag in colab HOT 1
- how to replace the default LLaMA3 model with my fine-tuned LLaMA3? HOT 1
- How big can the knowledge base be ?
- Unable to use SQLLite on AutoRag Example HOT 3
- data type error in research App (cookbook)
- There is no such thing as LLMTask? HOT 4
- Tavily api key cannot be set in Research Assistant tool HOT 1
- 'AzureOpenAI' object is not callable HOT 1
- Feature / Suggestion HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phidata.