View Source ExOpenAI.Components.ToolChoiceParam (ex_openai.ex v2.0.0-beta2)

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

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()

Summary

Types