Package com.azure.ai.openai.models
Class CompletionsLogProbabilityModel
java.lang.Object
com.azure.ai.openai.models.CompletionsLogProbabilityModel
Representation of a log probabilities model for a completions generation.
-
Method Summary
Modifier and TypeMethodDescriptionGet the textOffsets property: The text offsets associated with tokens in this completions data.Get the tokenLogProbabilities property: A collection of log probability values for the tokens in this completions data.Get the tokens property: The textual forms of tokens evaluated in this probability model.Get the topLogProbabilities property: A mapping of tokens to maximum log probability values in this completions data.
-
Method Details
-
getTokens
Get the tokens property: The textual forms of tokens evaluated in this probability model.- Returns:
- the tokens value.
-
getTokenLogProbabilities
Get the tokenLogProbabilities property: A collection of log probability values for the tokens in this completions data.- Returns:
- the tokenLogProbabilities value.
-
getTopLogProbabilities
Get the topLogProbabilities property: A mapping of tokens to maximum log probability values in this completions data.- Returns:
- the topLogProbabilities value.
-
getTextOffsets
Get the textOffsets property: The text offsets associated with tokens in this completions data.- Returns:
- the textOffsets value.
-