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

A compaction item generated by the v1/responses/compact API.

Fields

  • :created_by - optional - String.t()
    The identifier of the actor that created the item.

  • :encrypted_content - required - String.t()
    The encrypted content that was produced by compaction.

  • :id - required - String.t()
    The unique ID of the compaction item.

  • :type - required - :compaction
    The type of the item. Always compaction.
    Allowed values: "compaction"
    Default: "compaction"

Summary

Types

@type t() :: %ExOpenAI.Components.CompactionBody{
  created_by: String.t() | nil,
  encrypted_content: String.t(),
  id: String.t(),
  type: :compaction
}