Package com.openai.models
Class ResponseFormatText
-
- All Implemented Interfaces:
public final class ResponseFormatText
Default response format. Used to generate text responses.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseFormatText.Builder
A builder for ResponseFormatText.
-
Method Summary
Modifier and Type Method Description final JsonValue
_type()
The type of response format being defined. final Map<String, JsonValue>
_additionalProperties()
final ResponseFormatText.Builder
toBuilder()
final ResponseFormatText
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseFormatText.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseFormatText. -
-
Method Detail
-
_type
final JsonValue _type()
The type of response format being defined. Always
text
.Expected to always return the following:
JsonValue.from("text")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseFormatText.Builder toBuilder()
-
validate
final ResponseFormatText validate()
-
builder
final static ResponseFormatText.Builder builder()
Returns a mutable builder for constructing an instance of ResponseFormatText.
-
-
-
-