mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 14:43:07 +00:00
The new `langchain-ollama` package seems pretty well implemented, but I noticed the docs were still outdated so I decided to fix em up a bit. - Llama3.1 was release on 23rd of July; https://ai.meta.com/blog/meta-llama-3-1/ - Ollama supports tool calling since 25th of July; https://ollama.com/blog/tool-support - LangChain Ollama partner package was released 1st of august; https://pypi.org/project/langchain-ollama/ **Problem**: Docs note langchain-community instead of langchain-ollama **Solution**: Update docs to https://python.langchain.com/v0.2/docs/integrations/chat/ollama/ **Problem**: OllamaFunctions is deprecated, as noted on [Integrations](https://python.langchain.com/v0.2/docs/integrations/chat/ollama_functions/): This was an experimental wrapper that attempts to bolt-on tool calling support to models that do not natively support it. The [primary Ollama integration](https://python.langchain.com/v0.2/docs/integrations/chat/ollama/) now supports tool calling, and should be used instead. **Solution**: Delete old notebook from repo, update the existing one with @tool decorator + pydantic examples to the notebook **Problem**: Llama3.1 was released while llama3-groq-tool-call fine-tune Is noted in notebooks. **Solution**: update docs + notebooks to llama3.1 (which has improved tool calling support) **Problem**: Install instructions are incomplete, there is no information to download a model and/or run the Ollama server **Solution**: Add simple instructions to start the ollama service and pull model (for toolcalling) --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
LangChain Documentation
For more information on contributing to our documentation, see the Documentation Contributing Guide