View Source ExOpenAI.Components.RunStepDetailsToolCallsFunctionObject (ex_openai.ex v2.0.0-beta2)
Module for representing the OpenAI schema RunStepDetailsToolCallsFunctionObject.
Fields
:function- required -{:%{}, [], [{{:required, [], [:arguments]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}, {{:required, [], [:name]}, {{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}}, {{:required, [], [:output]}, {:|, [], [{{:., [], [{:__aliases__, [alias: false], [:String]}, :t]}, [], []}, {:any, [], []}]}}]}
The definition of the function that was called.:id- required -String.t()
The ID of the tool call object.:type- required -:function
The type of tool call. This is always going to befunctionfor this type of tool call.
Allowed values:"function"