Package com.openai.models
Class CompletionChoice.Logprobs.Builder
-
- All Implemented Interfaces:
public final class CompletionChoice.Logprobs.Builder
-
-
Constructor Summary
Constructors Constructor Description CompletionChoice.Logprobs.Builder()
-
Method Summary
-
-
Method Detail
-
textOffset
final CompletionChoice.Logprobs.Builder textOffset(List<Long> textOffset)
-
textOffset
final CompletionChoice.Logprobs.Builder textOffset(JsonField<List<Long>> textOffset)
-
addTextOffset
final CompletionChoice.Logprobs.Builder addTextOffset(Long textOffset)
-
tokenLogprobs
final CompletionChoice.Logprobs.Builder tokenLogprobs(List<Double> tokenLogprobs)
-
tokenLogprobs
final CompletionChoice.Logprobs.Builder tokenLogprobs(JsonField<List<Double>> tokenLogprobs)
-
addTokenLogprob
final CompletionChoice.Logprobs.Builder addTokenLogprob(Double tokenLogprob)
-
tokens
final CompletionChoice.Logprobs.Builder tokens(List<String> tokens)
-
tokens
final CompletionChoice.Logprobs.Builder tokens(JsonField<List<String>> tokens)
-
addToken
final CompletionChoice.Logprobs.Builder addToken(String token)
-
topLogprobs
final CompletionChoice.Logprobs.Builder topLogprobs(List<CompletionChoice.Logprobs.TopLogprob> topLogprobs)
-
topLogprobs
final CompletionChoice.Logprobs.Builder topLogprobs(JsonField<List<CompletionChoice.Logprobs.TopLogprob>> topLogprobs)
-
addTopLogprob
final CompletionChoice.Logprobs.Builder addTopLogprob(CompletionChoice.Logprobs.TopLogprob topLogprob)
-
additionalProperties
final CompletionChoice.Logprobs.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CompletionChoice.Logprobs.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CompletionChoice.Logprobs.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CompletionChoice.Logprobs.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CompletionChoice.Logprobs.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CompletionChoice.Logprobs build()
-
-
-
-