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
A builder for ChatCompletionPredictionContent.
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.
-
Method Summary
Modifier and Type Method Description final ChatCompletionPredictionContent.Content
content()
The content that should be matched when generating a model response. final JsonValue
_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 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 JsonValue _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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionPredictionContent validate()
-
toBuilder
final ChatCompletionPredictionContent.Builder toBuilder()
-
builder
final static ChatCompletionPredictionContent.Builder builder()
-
-
-
-