langchain-ai / langchain

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

Ollama Model support For tool calling #25555

Open jivaniyash opened 3 months ago

jivaniyash commented 3 months 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 months 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

dosubot[bot] commented 3 days ago

Hi, @jivaniyash. I'm Dosu, and I'm helping the LangChain team manage their backlog. I'm marking this issue as stale.

Issue Summary:

Next Steps:

Thank you for your understanding and contribution!