Skip to content

Commit 76d0758

Browse files
authored
fix(docs): json_mode -> json_schema (#32993)
1 parent 8b3f740 commit 76d0758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/how_to/structured_output.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@
668668
},
669669
{
670670
"cell_type": "code",
671-
"execution_count": 14,
671+
"execution_count": null,
672672
"id": "df0370e3",
673673
"metadata": {},
674674
"outputs": [
@@ -685,7 +685,7 @@
685685
}
686686
],
687687
"source": [
688-
"structured_llm = llm.with_structured_output(None, method=\"json_mode\")\n",
688+
"structured_llm = llm.with_structured_output(None, method=\"json_schema\")\n",
689689
"\n",
690690
"structured_llm.invoke(\n",
691691
" \"Tell me a joke about cats, respond in JSON with `setup` and `punchline` keys\"\n",

0 commit comments

Comments
 (0)