mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 15:04:13 +00:00
[docs]: split up tool docs (#22919)
This commit is contained in:
@@ -1136,7 +1136,7 @@ class BaseChatOpenAI(BaseChatModel):
|
||||
"schema must be specified when method is 'function_calling'. "
|
||||
"Received None."
|
||||
)
|
||||
llm = self.bind_tools([schema], tool_choice="any")
|
||||
llm = self.bind_tools([schema], tool_choice=True, parallel_tool_calls=False)
|
||||
if is_pydantic_schema:
|
||||
output_parser: OutputParserLike = PydanticToolsParser(
|
||||
tools=[schema], first_tool_only=True
|
||||
|
Reference in New Issue
Block a user