Package com.openai.models.beta.realtime
Class ConversationItemInputAudioTranscriptionDeltaEvent.Logprob
-
- All Implemented Interfaces:
public final class ConversationItemInputAudioTranscriptionDeltaEvent.Logprob
A log probability object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ConversationItemInputAudioTranscriptionDeltaEvent.Logprob.Builder
A builder for Logprob.
-
Method Summary
Modifier and Type Method Description final String
token()
The token that was used to generate the log probability. final List<Long>
bytes()
The bytes that were used to generate the log probability. final Double
logprob()
The log probability of the token. final JsonField<String>
_token()
Returns the raw JSON value of token. final JsonField<List<Long>>
_bytes()
Returns the raw JSON value of bytes. final JsonField<Double>
_logprob()
Returns the raw JSON value of logprob. final Map<String, JsonValue>
_additionalProperties()
final ConversationItemInputAudioTranscriptionDeltaEvent.Logprob.Builder
toBuilder()
final ConversationItemInputAudioTranscriptionDeltaEvent.Logprob
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ConversationItemInputAudioTranscriptionDeltaEvent.Logprob.Builder
builder()
Returns a mutable builder for constructing an instance of Logprob. -
-
Method Detail
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_bytes
final JsonField<List<Long>> _bytes()
Returns the raw JSON value of bytes.
Unlike bytes, this method doesn't throw if the JSON field has an unexpected type.
-
_logprob
final JsonField<Double> _logprob()
Returns the raw JSON value of logprob.
Unlike logprob, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ConversationItemInputAudioTranscriptionDeltaEvent.Logprob.Builder toBuilder()
-
validate
final ConversationItemInputAudioTranscriptionDeltaEvent.Logprob validate()
-
builder
final static ConversationItemInputAudioTranscriptionDeltaEvent.Logprob.Builder builder()
Returns a mutable builder for constructing an instance of Logprob.
The following fields are required:
.token() .bytes() .logprob()
-
-
-
-