mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 18:23:59 +00:00
docs: remove the extra period in docstring (#25414)
Remove the period after the hyperlink in the docstring of BaseChatOpenAI.with_structured_output. I have repeatedly copied the extra period at the end of the hyperlink, which results in a "Page not found" page when pasted into the browser.
This commit is contained in:
parent
63aba3fe5b
commit
0a99935794
@ -1144,7 +1144,7 @@ class BaseChatOpenAI(BaseChatModel):
|
|||||||
API: https://platform.openai.com/docs/guides/function-calling
|
API: https://platform.openai.com/docs/guides/function-calling
|
||||||
- "json_schema":
|
- "json_schema":
|
||||||
Uses OpenAI's Structured Output API:
|
Uses OpenAI's Structured Output API:
|
||||||
https://platform.openai.com/docs/guides/structured-outputs.
|
https://platform.openai.com/docs/guides/structured-outputs
|
||||||
Supported for "gpt-4o-mini", "gpt-4o-2024-08-06", and later
|
Supported for "gpt-4o-mini", "gpt-4o-2024-08-06", and later
|
||||||
models.
|
models.
|
||||||
- "json_mode":
|
- "json_mode":
|
||||||
@ -1178,7 +1178,7 @@ class BaseChatOpenAI(BaseChatModel):
|
|||||||
- True:
|
- True:
|
||||||
Model output is guaranteed to exactly match the schema.
|
Model output is guaranteed to exactly match the schema.
|
||||||
The input schema will also be validated according to
|
The input schema will also be validated according to
|
||||||
https://platform.openai.com/docs/guides/structured-outputs/supported-schemas.
|
https://platform.openai.com/docs/guides/structured-outputs/supported-schemas
|
||||||
- False:
|
- False:
|
||||||
Input schema will not be validated and model output will not be
|
Input schema will not be validated and model output will not be
|
||||||
validated.
|
validated.
|
||||||
|
Loading…
Reference in New Issue
Block a user