View Source ExOpenAI.Components.ResponseFunctionCallArgumentsDoneEvent (ex_openai.ex v2.0.0-beta2)

Emitted when function-call arguments are finalized.

Fields

  • :arguments - required - String.t()
    The function-call arguments.

  • :item_id - required - String.t()
    The ID of the item.

  • :name - required - String.t()
    The name of the function that was called.

  • :output_index - required - integer()
    The index of the output item.

  • :sequence_number - required - integer()
    The sequence number of this event.

  • :type - required - :"response.function_call_arguments.done"
    Allowed values: "response.function_call_arguments.done"

Summary

Types

@type t() :: %ExOpenAI.Components.ResponseFunctionCallArgumentsDoneEvent{
  arguments: String.t(),
  item_id: String.t(),
  name: String.t(),
  output_index: integer(),
  sequence_number: integer(),
  type: :"response.function_call_arguments.done"
}