Skip to content

The agent engineering platform.

DOC: Fixed conflicting info on ChatOllama structured output support (#28701)

UVc855d434c505
diff --git a/docs/docs/integrations/chat/ollama.ipynb b/docs/docs/integrations/chat/ollama.ipynb
index 1d9b5de040..daf179fe7f 100644
--- a/docs/docs/integrations/chat/ollama.ipynb
+++ b/docs/docs/integrations/chat/ollama.ipynb
@@ -34,8 +34,8 @@
"\n",
"### Model features\n",
"| [Tool calling](/docs/how_to/tool_calling/) | [Structured output](/docs/how_to/structured_output/) | JSON mode | [Image input](/docs/how_to/multimodal_inputs/) | Audio input | Video input | [Token-level streaming](/docs/how_to/chat_streaming/) | Native async | [Token usage](/docs/how_to/chat_token_usage_tracking/) | [Logprobs](/docs/how_to/logprobs/) |\n",
- "| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n",
- "| ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | \n",
+ "| :---: |:----------------------------------------------------:| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n",
+ "| ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ |\n",
"\n",
"## Setup\n",
"\n",
@@ -96,6 +96,20 @@
"%pip install -qU langchain-ollama"
]
},
+ {
+ "metadata": {},
+ "cell_type": "markdown",
+ "source": "Make sure you're using the latest Ollama version for structured outputs. Update by running:",
+ "id": "b18bd692076f7cf7"
+ },
+ {
+ "metadata": {},
+ "cell_type": "code",
+ "outputs": [],
+ "execution_count": null,
+ "source": "%pip install -U ollama",
+ "id": "b7a05cba95644c2e"
+ },
{
"cell_type": "markdown",
"id": "a38cde65-254d-4219-a441-068766c0d4b5",