langchain-ai / langchain

🦜🔗 Build context-aware reasoning applications
https://python.langchain.com
MIT License
92.26k stars 14.73k forks source link

Ollama Model support For tool calling #25555

Open jivaniyash opened 3 weeks ago

jivaniyash commented 3 weeks ago

URL

https://python.langchain.com/v0.2/docs/integrations/chat/ollama/

Checklist

Issue with current documentation:

DOC: <Issue related to /v0.2/docs/integrations/chat/ollama/>

Is it just one model [https://ollama.com/library/llama3-groq-tool-use] available for tool-calling for Ollama?

https://python.langchain.com/v0.2/docs/integrations/chat/ollama/#tool-calling

Idea or request for content:

No response

gbaian10 commented 3 weeks ago

This mainly depends on whether the model itself supports it. You can check the models card on Ollama to find which models support tools.

Related blog: Tool Support Card: Model with Tools