View Source ExOpenAI.Components.ChatCompletionMessageToolCall (ex_openai.ex v2.0.0-beta2)
A call to a function tool created by the model.
Fields
:function- required -{:%{}, [], [{{:required, [], [:arguments]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}, {{:required, [], [:name]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}]}
The function that the model called.:id- required -String.t()
The ID of the tool call.:type- required -:function
The type of the tool. Currently, onlyfunctionis supported.
Allowed values:"function"