Package com.openai.models
Class ChatCompletionContentPartText
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartText
Learn about text inputs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionContentPartText.Builder
public final class
ChatCompletionContentPartText.Type
The type of the content part.
-
Method Summary
Modifier and Type Method Description final String
text()
The text content. final ChatCompletionContentPartText.Type
type()
The type of the content part. final JsonField<String>
_text()
The text content. final JsonField<ChatCompletionContentPartText.Type>
_type()
The type of the content part. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionContentPartText
validate()
final ChatCompletionContentPartText.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionContentPartText.Builder
builder()
-
-
Method Detail
-
type
final ChatCompletionContentPartText.Type type()
The type of the content part.
-
_type
final JsonField<ChatCompletionContentPartText.Type> _type()
The type of the content part.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionContentPartText validate()
-
toBuilder
final ChatCompletionContentPartText.Builder toBuilder()
-
builder
final static ChatCompletionContentPartText.Builder builder()
-
-
-
-