Current section
Files
Jump to
Current section
Files
lib/schemas/response/function/call/arguments_done_event.ex
defmodule OpenAi.Response.Function.Call.ArgumentsDoneEvent do
@moduledoc """
Provides struct and type for a Response.Function.Call.ArgumentsDoneEvent
"""
@type t :: %__MODULE__{
arguments: String.t(),
item_id: String.t(),
output_index: integer,
type: String.t()
}
defstruct [:arguments, :item_id, :output_index, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
arguments: {:string, :generic},
item_id: {:string, :generic},
output_index: :integer,
type: {:const, "response.function_call_arguments.done"}
]
end
end