mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-17 23:41:46 +00:00
chore: format output_version
docstring
This commit is contained in:
@@ -335,17 +335,18 @@ class BaseChatModel(BaseLanguageModel[BaseMessage], ABC):
|
||||
"""
|
||||
|
||||
output_version: str = "v0"
|
||||
"""Version of AIMessage output format to use.
|
||||
"""Version of ``AIMessage`` output format to use.
|
||||
|
||||
This field is used to roll-out new output formats for chat model AIMessages
|
||||
This field is used to roll-out new output formats for chat model ``AIMessage``s
|
||||
in a backwards-compatible way.
|
||||
|
||||
``'v1'`` standardizes output format using a list of typed ContentBlock dicts. We
|
||||
recommend this for new applications.
|
||||
|
||||
All chat models currently support the default of ``"v0"``.
|
||||
All chat models currently support the default of ``'v0'``.
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
"""
|
||||
|
||||
@model_validator(mode="before")
|
||||
|
Reference in New Issue
Block a user