Class ChatCompletionPredictionContent
-
- All Implemented Interfaces:
public final class ChatCompletionPredictionContentStatic 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 classChatCompletionPredictionContent.Builderpublic final classChatCompletionPredictionContent.ContentThe 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 classChatCompletionPredictionContent.TypeThe type of the predicted content you want to provide. This type is currently always
content.
-
Method Summary
Modifier and Type Method Description final ChatCompletionPredictionContent.Contentcontent()The content that should be matched when generating a model response. final ChatCompletionPredictionContent.Typetype()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 ChatCompletionPredictionContentvalidate()final ChatCompletionPredictionContent.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionPredictionContent.Builderbuilder()-
-
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()
-
-
-
-