Class Logprobs.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiinference.model.Logprobs.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Logprobsbuild()Logprobs.Buildercopy(Logprobs model)Logprobs.BuildertextOffset(List<Integer> textOffset)The text offset.Logprobs.BuildertokenLogprobs(List<Double> tokenLogprobs)The logarithmic probabilites of the output token.Logprobs.Buildertokens(List<String> tokens)The list of output tokens.Logprobs.BuildertopLogprobs(List<Map<String,String>> topLogprobs)The logarithmic probabilities of each of the top k tokens.
 
- 
- 
- 
Method Detail- 
textOffsetpublic Logprobs.Builder textOffset(List<Integer> textOffset) The text offset.- Parameters:
- textOffset- the value to set
- Returns:
- this builder
 
 - 
tokenLogprobspublic Logprobs.Builder tokenLogprobs(List<Double> tokenLogprobs) The logarithmic probabilites of the output token.- Parameters:
- tokenLogprobs- the value to set
- Returns:
- this builder
 
 - 
tokenspublic Logprobs.Builder tokens(List<String> tokens) The list of output tokens.- Parameters:
- tokens- the value to set
- Returns:
- this builder
 
 - 
topLogprobspublic Logprobs.Builder topLogprobs(List<Map<String,String>> topLogprobs) The logarithmic probabilities of each of the top k tokens.- Parameters:
- topLogprobs- the value to set
- Returns:
- this builder
 
 - 
buildpublic Logprobs build() 
 - 
copypublic Logprobs.Builder copy(Logprobs model) 
 
- 
 
-