Package com.openai.models
Class ChatCompletion.Choice.Logprobs
-
- All Implemented Interfaces:
public final class ChatCompletion.Choice.Logprobs
Log probability information for the choice.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletion.Choice.Logprobs.Builder
A builder for Logprobs.
-
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 ChatCompletion.Choice.Logprobs
validate()
final ChatCompletion.Choice.Logprobs.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletion.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 ChatCompletion.Choice.Logprobs validate()
-
toBuilder
final ChatCompletion.Choice.Logprobs.Builder toBuilder()
-
builder
final static ChatCompletion.Choice.Logprobs.Builder builder()
-
-
-
-