Class StructuredChatCompletion.Choice
-
- All Implemented Interfaces:
public final class StructuredChatCompletion.Choice<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description private final Class<T>responseTypeprivate final ChatCompletion.ChoicerawChoice
-
Method Summary
Modifier and Type Method Description final Class<T>responseType()final ChatCompletion.ChoicerawChoice()final ChatCompletion.Choice.FinishReasonfinishReason()final Longindex()final Optional<ChatCompletion.Choice.Logprobs>logprobs()final JsonField<ChatCompletion.Choice.FinishReason>_finishReason()final StructuredChatCompletionMessage<T>message()final JsonField<Long>_index()final JsonField<ChatCompletion.Choice.Logprobs>_logprobs()final JsonField<StructuredChatCompletionMessage<T>>_message()final Map<String, JsonValue>_additionalProperties()final StructuredChatCompletion.Choice<T>validate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
responseType
final Class<T> responseType()
-
rawChoice
final ChatCompletion.Choice rawChoice()
-
finishReason
final ChatCompletion.Choice.FinishReason finishReason()
-
logprobs
final Optional<ChatCompletion.Choice.Logprobs> logprobs()
-
_finishReason
final JsonField<ChatCompletion.Choice.FinishReason> _finishReason()
-
message
final StructuredChatCompletionMessage<T> message()
-
_logprobs
final JsonField<ChatCompletion.Choice.Logprobs> _logprobs()
-
_message
final JsonField<StructuredChatCompletionMessage<T>> _message()
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final StructuredChatCompletion.Choice<T> validate()
-
-
-
-