CompletionsLogProbabilityModel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Representation of a log probabilities model for a completions generation.
public class CompletionsLogProbabilityModel : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.CompletionsLogProbabilityModel>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.CompletionsLogProbabilityModel>
type CompletionsLogProbabilityModel = class
interface IJsonModel<CompletionsLogProbabilityModel>
interface IPersistableModel<CompletionsLogProbabilityModel>
Public Class CompletionsLogProbabilityModel
Implements IJsonModel(Of CompletionsLogProbabilityModel), IPersistableModel(Of CompletionsLogProbabilityModel)
- Inheritance
-
CompletionsLogProbabilityModel
- Implements
Properties
TextOffsets |
The text offsets associated with tokens in this completions data. |
TokenLogProbabilities |
A collection of log probability values for the tokens in this completions data. |
Tokens |
The textual forms of tokens evaluated in this probability model. |
TopLogProbabilities |
A mapping of tokens to maximum log probability values in this completions data. |
Explicit Interface Implementations
IJsonModel<CompletionsLogProbabilityModel>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CompletionsLogProbabilityModel>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CompletionsLogProbabilityModel>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CompletionsLogProbabilityModel>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CompletionsLogProbabilityModel>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for