Package com.azure.ai.openai.models
Class ChatTokenLogProbabilityInfo
java.lang.Object
com.azure.ai.openai.models.ChatTokenLogProbabilityInfo
A representation of the log probability information for a single message content token.
-
Method Summary
-
Method Details
-
getToken
Get the token property: The message content token.- Returns:
- the token value.
-
getLogprob
public double getLogprob()Get the logprob property: The log probability of the message content token.- Returns:
- the logprob value.
-
getBytes
Get the bytes property: A list of integers representing the UTF-8 bytes representation of the token. Useful in instances where characters are represented by multiple tokens and their byte representations must be combined to generate the correct text representation. Can be null if there is no bytes representation for the token.- Returns:
- the bytes value.
-