OpenAI::ReasoningItem
Inherits JSON::Serializable < Reference < Object
A description of the chain of thought used by a reasoning model while generating
a response. Be sure to include these items in your input to the Responses API
for subsequent turns of a conversation if you are manually
managing context.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ReasoningItemType = ReasoningItemType::Reasoning, id : String = "", encrypted_content : ReasoningItemEncryptedContent | Nil = nil, summary : Array(Summary) = [] of Summary, content : Array(ReasoningTextContent) | Nil = nil, status : ReasoningItemStatus | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
encrypted_content
Sourceencrypted_content=(encrypted_content : ReasoningItemEncryptedContent | Nil)
Sourcestatus
The status of the item. One of in_progress, completed, or
incomplete. Populated when items are returned via API.
status=(status : ReasoningItemStatus | Nil)
The status of the item. One of in_progress, completed, or
incomplete. Populated when items are returned via API.