Class CompletionsLogProbabilityModel

java.lang.Object
com.azure.ai.openai.models.CompletionsLogProbabilityModel

public final class CompletionsLogProbabilityModel extends Object
Representation of a log probabilities model for a completions generation.
  • Method Details

    • getTokens

      public List<String> getTokens()
      Get the tokens property: The textual forms of tokens evaluated in this probability model.
      Returns:
      the tokens value.
    • getTokenLogprobs

      public List<Double> getTokenLogprobs()
      Get the tokenLogprobs property: A collection of log probability values for the tokens in this completions data.
      Returns:
      the tokenLogprobs value.
    • getTopLogprobs

      public List<Map<String,Double>> getTopLogprobs()
      Get the topLogprobs property: A mapping of tokens to maximum log probability values in this completions data.
      Returns:
      the topLogprobs value.
    • getTextOffset

      public List<Integer> getTextOffset()
      Get the textOffset property: The text offsets associated with tokens in this completions data.
      Returns:
      the textOffset value.