Bind tool-like objects to this chat model.
Assumes model is compatible with Fireworks tool-calling API.
bind_tools(
self,
tools: Sequence[dict[str, Any] | type[BaseModel] | Callable | BaseTool],
*,
tool_choice: dict | str | bool | None = None,
**kwargs: Any = {}
) -> Runnable[LanguageModelInput, AIMessage]| Name | Type | Description |
|---|---|---|
tools* | Sequence[dict[str, Any] | type[BaseModel] | Callable | BaseTool] | A list of tool definitions to bind to this chat model. Supports any tool definition handled by |
tool_choice | dict | str | bool | None | Default: NoneWhich tool to require the model to call.
Must be the name of the single provided function,
|
**kwargs | Any | Default: {}Any additional parameters to pass to
|