Package com.openai.models.beta.responses
Class BetaResponseTextDeltaEvent.Logprob.TopLogprob
-
- All Implemented Interfaces:
public final class BetaResponseTextDeltaEvent.Logprob.TopLogprob
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseTextDeltaEvent.Logprob.TopLogprob.BuilderA builder for TopLogprob.
-
Method Summary
Modifier and Type Method Description final Optional<String>token()A possible text token. final Optional<Double>logprob()The log probability of this token. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<Double>_logprob()Returns the raw JSON value of logprob. final Map<String, JsonValue>_additionalProperties()final BetaResponseTextDeltaEvent.Logprob.TopLogprob.BuildertoBuilder()final BetaResponseTextDeltaEvent.Logprob.TopLogprobvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseTextDeltaEvent.Logprob.TopLogprob.Builderbuilder()Returns a mutable builder for constructing an instance of TopLogprob. -
-
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.
-
_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 BetaResponseTextDeltaEvent.Logprob.TopLogprob.Builder toBuilder()
-
validate
final BetaResponseTextDeltaEvent.Logprob.TopLogprob 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 BetaResponseTextDeltaEvent.Logprob.TopLogprob.Builder builder()
Returns a mutable builder for constructing an instance of TopLogprob.
-
-
-
-