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:
gbaian10 2024-08-15 06:07:15 +08:00 committed by GitHub
parent 63aba3fe5b
commit 0a99935794
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1144,7 +1144,7 @@ class BaseChatOpenAI(BaseChatModel):
API: https://platform.openai.com/docs/guides/function-calling
- "json_schema":
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
models.
- "json_mode":
@ -1178,7 +1178,7 @@ class BaseChatOpenAI(BaseChatModel):
- True:
Model output is guaranteed to exactly match the schema.
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:
Input schema will not be validated and model output will not be
validated.