View Source ExOpenAI.Components.ChatCompletionMessageToolCallChunk (ex_openai.ex v2.0.0-beta2)
Module for representing the OpenAI schema ChatCompletionMessageToolCallChunk.
Fields
:function- optional -{:%{}, [], [{{:optional, [], [:arguments]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}, {{:optional, [], [:name]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}]}:id- optional -String.t()
The ID of the tool call.:index- required -integer():type- optional -:function
The type of the tool. Currently, onlyfunctionis supported.
Allowed values:"function"