From 192035f8c0616989c8a419888d72100be88761d5 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Mon, 17 Mar 2025 11:54:32 -0500 Subject: [PATCH] docs: fix typo (#30310) --- docs/docs/concepts/structured_outputs.mdx | 2 +- docs/docs/concepts/tool_calling.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/concepts/structured_outputs.mdx b/docs/docs/concepts/structured_outputs.mdx index 84bbc236c10..3dce02ac1a7 100644 --- a/docs/docs/concepts/structured_outputs.mdx +++ b/docs/docs/concepts/structured_outputs.mdx @@ -16,7 +16,7 @@ This need motivates the concept of structured output, where models can be instru ## Recommended usage -This pseudo-code illustrates the recommended workflow when using structured output. +This pseudocode illustrates the recommended workflow when using structured output. LangChain provides a method, [`with_structured_output()`](/docs/how_to/structured_output/#the-with_structured_output-method), that automates the process of binding the schema to the [model](/docs/concepts/chat_models/) and parsing the output. This helper function is available for all model providers that support structured output. diff --git a/docs/docs/concepts/tool_calling.mdx b/docs/docs/concepts/tool_calling.mdx index 353eb69170a..0beaf1a9ae7 100644 --- a/docs/docs/concepts/tool_calling.mdx +++ b/docs/docs/concepts/tool_calling.mdx @@ -30,7 +30,7 @@ You will sometimes hear the term `function calling`. We use this term interchang ## Recommended usage -This pseudo-code illustrates the recommended workflow for using tool calling. +This pseudocode illustrates the recommended workflow for using tool calling. Created tools are passed to `.bind_tools()` method as a list. This model can be called, as usual. If a tool call is made, model's response will contain the tool call arguments. The tool call arguments can be passed directly to the tool.