class

OpenAI::CompactionSummaryItemParam

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(id : CompactionSummaryItemParamId | Nil = nil, type_value : CompactionSummaryItemParamType = CompactionSummaryItemParamType::Compaction, encrypted_content : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

encrypted_content
Source
encrypted_content=(encrypted_content : String)
Source
id=(id : CompactionSummaryItemParamId | Nil)
Source
type_value

The type of the item. Always compaction.

Source
type_value=(type_value : CompactionSummaryItemParamType)

The type of the item. Always compaction.

Source
validate!
Source