Class Logprobs.Builder
java.lang.Object
dev.langchain4j.model.openai.internal.completion.Logprobs.Builder
- Enclosing class:
Logprobs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
textOffset
(List<Integer> textOffset) tokenLogprobs
(List<Double> tokenLogprobs) topLogprobs
(List<Map<String, Double>> topLogprobs)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tokens
-
tokenLogprobs
-
topLogprobs
-
textOffset
-
build
-