Package com.openai.models.responses
Class ResponseTextDeltaEvent.Logprob.TopLogprob.Builder
-
- All Implemented Interfaces:
public final class ResponseTextDeltaEvent.Logprob.TopLogprob.Builder
A builder for TopLogprob.
-
-
Method Summary
-
-
Method Detail
-
token
final ResponseTextDeltaEvent.Logprob.TopLogprob.Builder token(String token)
A possible text token.
-
token
final ResponseTextDeltaEvent.Logprob.TopLogprob.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.
-
logprob
final ResponseTextDeltaEvent.Logprob.TopLogprob.Builder logprob(Double logprob)
The log probability of this token.
-
logprob
final ResponseTextDeltaEvent.Logprob.TopLogprob.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 ResponseTextDeltaEvent.Logprob.TopLogprob.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseTextDeltaEvent.Logprob.TopLogprob.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseTextDeltaEvent.Logprob.TopLogprob.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseTextDeltaEvent.Logprob.TopLogprob.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseTextDeltaEvent.Logprob.TopLogprob.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseTextDeltaEvent.Logprob.TopLogprob build()
Returns an immutable instance of TopLogprob.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-