Class ChatCompletionPredictionContent
-
- All Implemented Interfaces:
public final class ChatCompletionPredictionContent
Static predicted output content, such as the content of a text file that is being regenerated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionPredictionContent.Builder
public final class
ChatCompletionPredictionContent.Content
The content that should be matched when generating a model response. If generated tokens would match this content, the entire model response can be returned much more quickly.
public final class
ChatCompletionPredictionContent.Type
The type of the predicted content you want to provide. This type is currently always
content
.
-
Method Summary
Modifier and Type Method Description final ChatCompletionPredictionContent.Content
content()
The content that should be matched when generating a model response. final ChatCompletionPredictionContent.Type
type()
The type of the predicted content you want to provide. final JsonField<ChatCompletionPredictionContent.Content>
_content()
The content that should be matched when generating a model response. final JsonField<ChatCompletionPredictionContent.Type>
_type()
The type of the predicted content you want to provide. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionPredictionContent
validate()
final ChatCompletionPredictionContent.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionPredictionContent.Builder
builder()
-
-
Method Detail
-
content
final ChatCompletionPredictionContent.Content content()
The content that should be matched when generating a model response. If generated tokens would match this content, the entire model response can be returned much more quickly.
-
type
final ChatCompletionPredictionContent.Type type()
The type of the predicted content you want to provide. This type is currently always
content
.
-
_content
final JsonField<ChatCompletionPredictionContent.Content> _content()
The content that should be matched when generating a model response. If generated tokens would match this content, the entire model response can be returned much more quickly.
-
_type
final JsonField<ChatCompletionPredictionContent.Type> _type()
The type of the predicted content you want to provide. This type is currently always
content
.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionPredictionContent validate()
-
toBuilder
final ChatCompletionPredictionContent.Builder toBuilder()
-
builder
final static ChatCompletionPredictionContent.Builder builder()
-
-
-
-