Package com.openai.models.realtime
Class LogProbProperties
-
- All Implemented Interfaces:
public final class LogProbPropertiesA log probability object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLogProbProperties.BuilderA builder for LogProbProperties.
-
Method Summary
Modifier and Type Method Description final Stringtoken()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 Doublelogprob()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 LogProbProperties.BuildertoBuilder()final LogProbPropertiesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static LogProbProperties.Builderbuilder()Returns a mutable builder for constructing an instance of LogProbProperties. -
-
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 LogProbProperties.Builder toBuilder()
-
validate
final LogProbProperties validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static LogProbProperties.Builder builder()
Returns a mutable builder for constructing an instance of LogProbProperties.
The following fields are required:
.token() .bytes() .logprob()
-
-
-
-