Class TranscriptionTextDeltaEvent.Logprob.Builder
-
- All Implemented Interfaces:
public final class TranscriptionTextDeltaEvent.Logprob.Builder
A builder for Logprob.
-
-
Method Summary
-
-
Method Detail
-
token
final TranscriptionTextDeltaEvent.Logprob.Builder token(String token)
The token that was used to generate the log probability.
-
token
final TranscriptionTextDeltaEvent.Logprob.Builder token(JsonField<String> token)
Sets Builder.token to an arbitrary JSON value.
You should usually call Builder.token with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bytes
final TranscriptionTextDeltaEvent.Logprob.Builder bytes(List<JsonValue> bytes)
The bytes that were used to generate the log probability.
-
bytes
final TranscriptionTextDeltaEvent.Logprob.Builder bytes(JsonField<List<JsonValue>> bytes)
Sets Builder.bytes to an arbitrary JSON value.
You should usually call Builder.bytes with a well-typed
List<JsonValue>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addByte
final TranscriptionTextDeltaEvent.Logprob.Builder addByte(JsonValue byte_)
-
logprob
final TranscriptionTextDeltaEvent.Logprob.Builder logprob(Double logprob)
The log probability of the token.
-
logprob
final TranscriptionTextDeltaEvent.Logprob.Builder logprob(JsonField<Double> logprob)
Sets Builder.logprob to an arbitrary JSON value.
You should usually call Builder.logprob with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TranscriptionTextDeltaEvent.Logprob.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TranscriptionTextDeltaEvent.Logprob.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TranscriptionTextDeltaEvent.Logprob.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TranscriptionTextDeltaEvent.Logprob.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TranscriptionTextDeltaEvent.Logprob.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TranscriptionTextDeltaEvent.Logprob build()
Returns an immutable instance of Logprob.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-