View Source ExOpenAI.Components.ToolChoiceFunction (ex_openai.ex v2.0.0-beta2)
Use this option to force the model to call a specific function.
Fields
:name- required -String.t()
The name of the function to call.:type- required -:function
For function calling, the type is alwaysfunction.
Allowed values:"function"
Summary
Types
@type t() :: %ExOpenAI.Components.ToolChoiceFunction{ name: String.t(), type: :function }