Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Logprobs |
build() |
Logprobs.Builder |
copy(Logprobs model) |
Logprobs.Builder |
textOffset(List<Integer> textOffset)
The text offset.
|
Logprobs.Builder |
tokenLogprobs(List<Double> tokenLogprobs)
The logarithmic probabilites of the output token.
|
Logprobs.Builder |
tokens(List<String> tokens)
The list of output tokens.
|
Logprobs.Builder |
topLogprobs(List<Map<String,String>> topLogprobs)
The logarithmic probabilities of each of the top k tokens.
|
public Logprobs.Builder textOffset(List<Integer> textOffset)
The text offset.
textOffset
- the value to setpublic Logprobs.Builder tokenLogprobs(List<Double> tokenLogprobs)
The logarithmic probabilites of the output token.
tokenLogprobs
- the value to setpublic Logprobs.Builder tokens(List<String> tokens)
The list of output tokens.
tokens
- the value to setpublic Logprobs.Builder topLogprobs(List<Map<String,String>> topLogprobs)
The logarithmic probabilities of each of the top k tokens.
topLogprobs
- the value to setpublic Logprobs build()
public Logprobs.Builder copy(Logprobs model)
Copyright © 2016–2024. All rights reserved.