ToolConfigurationDict¶
Dictionary Type¶
ToolConfigurationDict
¶
Bases: TypedDict
Dictionary form of ToolConfiguration.
Attributes¶
tool_choice
instance-attribute
¶
tool_choice: ToolChoice | ToolChoiceDict | None
If supported by model, forces the model to request a tool.