Package com.openai.models.conversations
Class LobProb
-
- All Implemented Interfaces:
public final class LobProb
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
LobProb.Builder
A builder for LobProb.
-
Method Summary
Modifier and Type Method Description final String
token()
final List<Long>
bytes()
final Double
logprob()
final List<TopLogProb>
topLogprobs()
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 JsonField<List<TopLogProb>>
_topLogprobs()
Returns the raw JSON value of topLogprobs. final Map<String, JsonValue>
_additionalProperties()
final LobProb.Builder
toBuilder()
final LobProb
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static LobProb.Builder
builder()
Returns a mutable builder for constructing an instance of LobProb. -
-
Method Detail
-
topLogprobs
final List<TopLogProb> topLogprobs()
-
_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.
-
_topLogprobs
final JsonField<List<TopLogProb>> _topLogprobs()
Returns the raw JSON value of topLogprobs.
Unlike topLogprobs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final LobProb.Builder toBuilder()
-
builder
final static LobProb.Builder builder()
Returns a mutable builder for constructing an instance of LobProb.
The following fields are required:
.token() .bytes() .logprob() .topLogprobs()
-
-
-
-