Ask a question to get started
Enter to send•Shift+Enter new line
Bind tools to the model.
bind_tools( self, tools: Sequence[builtins.dict[str, Any] | type | Callable | BaseTool], *, tool_choice: str | None = None, **kwargs: Any = {} ) -> Runnable[LanguageModelInput, AIMessage]
tools
Sequence[builtins.dict[str, Any] | type | Callable | BaseTool]
Sequence of tools to bind to the model.
tool_choice
str | None
None
The tool to use. If "any" then any tool can be used.