Package com.openai.models.responses
Class ResponseReasoningItem.Summary
-
- All Implemented Interfaces:
public final class ResponseReasoningItem.Summary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseReasoningItem.Summary.Builder
A builder for Summary.
-
Method Summary
Modifier and Type Method Description final String
text()
A short summary of the reasoning used by the model when generating the response. final JsonValue
_type()
The type of the object. final JsonField<String>
_text()
Returns the raw JSON value of text. final Map<String, JsonValue>
_additionalProperties()
final ResponseReasoningItem.Summary.Builder
toBuilder()
final ResponseReasoningItem.Summary
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseReasoningItem.Summary.Builder
builder()
Returns a mutable builder for constructing an instance of Summary. -
-
Method Detail
-
text
final String text()
A short summary of the reasoning used by the model when generating the response.
-
_type
final JsonValue _type()
The type of the object. Always
summary_text
.Expected to always return the following:
JsonValue.from("summary_text")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseReasoningItem.Summary.Builder toBuilder()
-
validate
final ResponseReasoningItem.Summary validate()
-
builder
final static ResponseReasoningItem.Summary.Builder builder()
Returns a mutable builder for constructing an instance of Summary.
The following fields are required:
.text()
-
-
-
-