ChatChoiceLogProbabilityInfo Class

Definition

Log probability information for a choice, as requested via 'logprobs' and 'top_logprobs'.

public class ChatChoiceLogProbabilityInfo : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.ChatChoiceLogProbabilityInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.ChatChoiceLogProbabilityInfo>
type ChatChoiceLogProbabilityInfo = class
    interface IJsonModel<ChatChoiceLogProbabilityInfo>
    interface IPersistableModel<ChatChoiceLogProbabilityInfo>
Public Class ChatChoiceLogProbabilityInfo
Implements IJsonModel(Of ChatChoiceLogProbabilityInfo), IPersistableModel(Of ChatChoiceLogProbabilityInfo)
Inheritance
ChatChoiceLogProbabilityInfo
Implements

Properties

TokenLogProbabilityResults

The list of log probability information entries for the choice's message content tokens, as requested via the 'logprobs' option.

Explicit Interface Implementations

IJsonModel<ChatChoiceLogProbabilityInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ChatChoiceLogProbabilityInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatChoiceLogProbabilityInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatChoiceLogProbabilityInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ChatChoiceLogProbabilityInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to