style: monorepo pass for refs (#33359)

* Delete some double backticks previously used by Sphinx (not done
everywhere yet)
* Fix some code blocks / dropdowns

Ignoring CLI CI for now
This commit is contained in:
Mason Daugherty
2025-10-08 18:41:39 -04:00
committed by GitHub
parent b665b81a0e
commit d13823043d
154 changed files with 1871 additions and 1883 deletions

View File

@@ -753,7 +753,7 @@ class ChatMistralAI(BaseChatModel):
- an OpenAI function/tool schema,
- a JSON Schema,
- a TypedDict class (support added in 0.1.12),
- a `TypedDict` class (support added in 0.1.12),
- or a Pydantic class.
If ``schema`` is a Pydantic class then the model output will be a
@@ -761,7 +761,7 @@ class ChatMistralAI(BaseChatModel):
validated by the Pydantic class. Otherwise the model output will be a
dict and will not be validated. See `langchain_core.utils.function_calling.convert_to_openai_tool`
for more on how to properly specify types and descriptions of
schema fields when specifying a Pydantic or TypedDict class.
schema fields when specifying a Pydantic or `TypedDict` class.
!!! warning "Behavior changed in 0.1.12"
Added support for TypedDict class.
@@ -785,8 +785,8 @@ class ChatMistralAI(BaseChatModel):
Added method="json_schema"
include_raw:
If False then only the parsed structured output is returned. If
an error occurs during model output parsing it will be raised. If True
If `False` then only the parsed structured output is returned. If
an error occurs during model output parsing it will be raised. If `True`
then both the raw model response (a BaseMessage) and the parsed model
response will be returned. If an error occurs during output parsing it
will be caught and returned as well. The final output is always a dict
@@ -794,9 +794,9 @@ class ChatMistralAI(BaseChatModel):
kwargs: Any additional parameters are passed directly to
``self.bind(**kwargs)``. This is useful for passing in
parameters such as ``tool_choice`` or ``tools`` to control
parameters such as `tool_choice` or `tools` to control
which tool the model should call, or to pass in parameters such as
``stop`` to control when the model should stop generating output.
`stop` to control when the model should stop generating output.
Returns:
A Runnable that takes same inputs as a `langchain_core.language_models.chat.BaseChatModel`.