mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-04 10:42:55 +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[
|
||||
"function_calling", "json_mode", "json_schema"
|
||||
] = "function_calling",
|
||||
] = "json_schema",
|
||||
include_raw: bool = False,
|
||||
**kwargs: Any,
|
||||
) -> Runnable[LanguageModelInput, Union[Dict, BaseModel]]:
|
||||
|
Loading…
Reference in New Issue
Block a user