View Source ExOpenAI.Components.ToolChoiceParam (ex_openai.ex v2.0.0-beta)
How the model should select which tool (or tools) to use when generating
a response. See the tools parameter to see how to specify which tools
the model can call.
Type
any() | any() | any() | any() | any() | any() | any() | any()
Summary
Types
@type t() :: ((((((ExOpenAI.Components.ToolChoiceOptions.t() | ExOpenAI.Components.ToolChoiceAllowed.t()) | ExOpenAI.Components.ToolChoiceTypes.t()) | ExOpenAI.Components.ToolChoiceFunction.t()) | ExOpenAI.Components.ToolChoiceMCP.t()) | ExOpenAI.Components.ToolChoiceCustom.t()) | ExOpenAI.Components.SpecificApplyPatchParam.t()) | ExOpenAI.Components.SpecificFunctionShellParam.t()