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

A list of Response items.

Fields

  • :data - required - [ExOpenAI.Components.ItemResource.t()]
    A list of items used to generate this response.

  • :first_id - required - String.t()
    The ID of the first item in the list.

  • :has_more - required - boolean()
    Whether there are more items available.

  • :last_id - required - String.t()
    The ID of the last item in the list.

  • :object - required - :list
    The type of object returned, must be list.
    Allowed values: "list"

Summary

Types

@type t() :: %ExOpenAI.Components.ResponseItemList{
  data: [ExOpenAI.Components.ItemResource.t()],
  first_id: String.t(),
  has_more: boolean(),
  last_id: String.t(),
  object: :list
}