View Source ExOpenAI.Components.ChatCompletionNamedToolChoice (ex_openai.ex v2.0.0-beta2)
Specifies a tool the model should use. Use to force the model to call a specific function.
Fields
:function- required -{:%{}, [], [{{:required, [], [:name]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}]}:type- required -:function
For function calling, the type is alwaysfunction.
Allowed values:"function"
Summary
Types
@type t() :: %ExOpenAI.Components.ChatCompletionNamedToolChoice{ function: %{name: String.t()}, type: :function }