mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-25 01:16:55 +00:00
docs: fix typo (#30310)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user