Package com.openai.models
Class ChatCompletionChunk.Choice.Logprobs
-
- All Implemented Interfaces:
public final class ChatCompletionChunk.Choice.Logprobs
Log probability information for the choice.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionChunk.Choice.Logprobs.Builder
-
Method Summary
Modifier and Type Method Description final Optional<List<ChatCompletionTokenLogprob>>
content()
A list of message content tokens with log probability information. final Optional<List<ChatCompletionTokenLogprob>>
refusal()
A list of message refusal tokens with log probability information. final JsonField<List<ChatCompletionTokenLogprob>>
_content()
A list of message content tokens with log probability information. final JsonField<List<ChatCompletionTokenLogprob>>
_refusal()
A list of message refusal tokens with log probability information. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionChunk.Choice.Logprobs
validate()
final ChatCompletionChunk.Choice.Logprobs.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionChunk.Choice.Logprobs.Builder
builder()
-
-
Method Detail
-
content
final Optional<List<ChatCompletionTokenLogprob>> content()
A list of message content tokens with log probability information.
-
refusal
final Optional<List<ChatCompletionTokenLogprob>> refusal()
A list of message refusal tokens with log probability information.
-
_content
final JsonField<List<ChatCompletionTokenLogprob>> _content()
A list of message content tokens with log probability information.
-
_refusal
final JsonField<List<ChatCompletionTokenLogprob>> _refusal()
A list of message refusal tokens with log probability information.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionChunk.Choice.Logprobs validate()
-
toBuilder
final ChatCompletionChunk.Choice.Logprobs.Builder toBuilder()
-
builder
final static ChatCompletionChunk.Choice.Logprobs.Builder builder()
-
-
-
-