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

An event that is emitted when a response is created.

Fields

  • :response - required - ExOpenAI.Components.Response.t()
    The response that was created.

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

  • :type - required - :"response.created"
    The type of the event. Always response.created.
    Allowed values: "response.created"

Summary

Types

@type t() :: %ExOpenAI.Components.ResponseCreatedEvent{
  response: ExOpenAI.Components.Response.t(),
  sequence_number: integer(),
  type: :"response.created"
}