mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-05 19:15:44 +00:00
Switch Ollama default to json_schema
This commit is contained in:
parent
bc5fafa20e
commit
4b6e10a413
@ -833,7 +833,7 @@ class ChatOllama(BaseChatModel):
|
|||||||
*,
|
*,
|
||||||
method: Literal[
|
method: Literal[
|
||||||
"function_calling", "json_mode", "json_schema"
|
"function_calling", "json_mode", "json_schema"
|
||||||
] = "function_calling",
|
] = "json_schema",
|
||||||
include_raw: bool = False,
|
include_raw: bool = False,
|
||||||
**kwargs: Any,
|
**kwargs: Any,
|
||||||
) -> Runnable[LanguageModelInput, Union[Dict, BaseModel]]:
|
) -> Runnable[LanguageModelInput, Union[Dict, BaseModel]]:
|
||||||
|
Loading…
Reference in New Issue
Block a user