Package com.openai.models.responses
Class ResponseInputItem.Reasoning
-
- All Implemented Interfaces:
public final class ResponseInputItem.Reasoning
A description of the chain of thought used by a reasoning model while generating a response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseInputItem.Reasoning.Builder
A builder for Reasoning.
public final class
ResponseInputItem.Reasoning.Content
public final class
ResponseInputItem.Reasoning.Status
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
Method Summary
Modifier and Type Method Description final String
id()
The unique identifier of the reasoning content. final List<ResponseInputItem.Reasoning.Content>
content()
Reasoning text contents. final JsonValue
_type()
The type of the object. final Optional<ResponseInputItem.Reasoning.Status>
status()
The status of the item. final JsonField<String>
_id()
The unique identifier of the reasoning content. final JsonField<List<ResponseInputItem.Reasoning.Content>>
_content()
Reasoning text contents. final JsonField<ResponseInputItem.Reasoning.Status>
_status()
The status of the item. final Map<String, JsonValue>
_additionalProperties()
final ResponseInputItem.Reasoning
validate()
final ResponseInputItem.Reasoning.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseInputItem.Reasoning.Builder
builder()
Returns a mutable builder for constructing an instance of Reasoning. -
-
Method Detail
-
content
final List<ResponseInputItem.Reasoning.Content> content()
Reasoning text contents.
-
status
final Optional<ResponseInputItem.Reasoning.Status> status()
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
_content
final JsonField<List<ResponseInputItem.Reasoning.Content>> _content()
Reasoning text contents.
-
_status
final JsonField<ResponseInputItem.Reasoning.Status> _status()
The status of the item. One of
in_progress
,completed
, orincomplete
. Populated when items are returned via API.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseInputItem.Reasoning validate()
-
toBuilder
final ResponseInputItem.Reasoning.Builder toBuilder()
-
builder
final static ResponseInputItem.Reasoning.Builder builder()
Returns a mutable builder for constructing an instance of Reasoning.
The following fields are required:
.id() .content()
-
-
-
-