forked from langchain-ai/langchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: ollama doc update (toolcalling, install, notebook examples) (la…
…ngchain-ai#25549) 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 <[email protected]>
- Loading branch information
Showing
5 changed files
with
72 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.