CompletionsLogProbabilityModel interface
Representation of a log probabilities model for a completions generation.
Properties
text |
The text offsets associated with tokens in this completions data. |
token |
A collection of log probability values for the tokens in this completions data. |
tokens | The textual forms of tokens evaluated in this probability model. |
top |
A mapping of tokens to maximum log probability values in this completions data. |
Property Details
textOffset
The text offsets associated with tokens in this completions data.
textOffset: number[]
Property Value
number[]
tokenLogprobs
A collection of log probability values for the tokens in this completions data.
tokenLogprobs: (null | number)[]
Property Value
(null | number)[]
tokens
The textual forms of tokens evaluated in this probability model.
tokens: string[]
Property Value
string[]
topLogprobs
A mapping of tokens to maximum log probability values in this completions data.
topLogprobs: Record<string, null | number>[]
Property Value
Record<string, null | number>[]
Azure SDK for JavaScript