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>
responseType
private final ChatCompletion.Choice
rawChoice
-
Method Summary
Modifier and Type Method Description final Class<T>
responseType()
final ChatCompletion.Choice
rawChoice()
final ChatCompletion.Choice.FinishReason
finishReason()
final Long
index()
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 Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
-
-
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()
-
-
-
-