Code in documentation on OllamaFunctions
fails
#21373
Labels
🤖:docs
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
Checked other resources
Example Code
The following code taken from the docs: https://python.langchain.com/docs/integrations/chat/ollama_functions/ fails
Taking out
format='json'
also doesn't help - see below.Error Message and Stack Trace (if applicable)
With
format='json
:chain = prompt | structured_llm
but also without this setting:
Description
The docs seem out of date
System Info
langchain==0.1.16
langchain-anthropic==0.1.11
langchain-community==0.0.33
langchain-core==0.1.44
langchain-experimental==0.0.57
langchain-openai==0.1.3
langchain-text-splitters==0.0.1
The text was updated successfully, but these errors were encountered: