Package com.openai.models.conversations
Class SummaryTextContent
-
- All Implemented Interfaces:
public final class SummaryTextContent
A summary text from the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
SummaryTextContent.Builder
A builder for SummaryTextContent.
-
Method Summary
Modifier and Type Method Description final String
text()
A summary of the reasoning output from the model so far. 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 SummaryTextContent.Builder
toBuilder()
final SummaryTextContent
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static SummaryTextContent.Builder
builder()
Returns a mutable builder for constructing an instance of SummaryTextContent. -
-
Method Detail
-
_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 SummaryTextContent.Builder toBuilder()
-
validate
final SummaryTextContent validate()
-
builder
final static SummaryTextContent.Builder builder()
Returns a mutable builder for constructing an instance of SummaryTextContent.
The following fields are required:
.text()
-
-
-
-