You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core_docs/docs/how_to/structured_output.ipynb
+2-6
Original file line number
Diff line number
Diff line change
@@ -29,20 +29,16 @@
29
29
"\n",
30
30
"## The `.withStructuredOutput()` method\n",
31
31
"\n",
32
-
"There are several strategies that models can use under the hood. For some of the most popular model providers, including [OpenAI](/docs/integrations/platforms/openai/), [Anthropic](/docs/integrations/platforms/anthropic/), and [Mistral](/docs/integrations/providers/mistralai/), LangChain implements a common interface that abstracts away these strategies called `.withStructuredOutput`.\n",
32
+
"There are several strategies that models can use under the hood. For some of the most popular model providers, including [Anthropic](/docs/integrations/platforms/anthropic/), [Google VertexAI](/docs/integrations/platforms/google/), [Mistral](/docs/integrations/providers/mistralai/), and [OpenAI](/docs/integrations/platforms/openai/) LangChain implements a common interface that abstracts away these strategies called `.withStructuredOutput`.\n",
33
33
"\n",
34
34
"By invoking this method (and passing in [JSON schema](https://json-schema.org/) or a [Zod schema](https://zod.dev/)) the model will add whatever model parameters + output parsers are necessary to get back structured output matching the requested schema. If the model supports more than one way to do this (e.g., function calling vs JSON mode) - you can configure which method to use by passing into that method.\n",
35
35
"\n",
36
-
"You can find the [current list of models that support this method here](/docs/integrations/chat/).\n",
37
-
"\n",
38
36
"Let's look at some examples of this in action! We'll use Zod to create a simple response schema.\n",
39
37
"\n",
40
38
"```{=mdx}\n",
41
39
"import ChatModelTabs from \"@theme/ChatModelTabs\";\n",
0 commit comments