Share via


ChatCompletionsResponseFormatText Class

Definition

A response format for Chat Completions that emits text responses. This is the default response format.

public class ChatCompletionsResponseFormatText : Azure.AI.Inference.ChatCompletionsResponseFormat, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatCompletionsResponseFormatText>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatCompletionsResponseFormatText>
type ChatCompletionsResponseFormatText = class
    inherit ChatCompletionsResponseFormat
    interface IJsonModel<ChatCompletionsResponseFormatText>
    interface IPersistableModel<ChatCompletionsResponseFormatText>
Public Class ChatCompletionsResponseFormatText
Inherits ChatCompletionsResponseFormat
Implements IJsonModel(Of ChatCompletionsResponseFormatText), IPersistableModel(Of ChatCompletionsResponseFormatText)
Inheritance
ChatCompletionsResponseFormatText
Implements

Constructors

ChatCompletionsResponseFormatText()

Initializes a new instance of ChatCompletionsResponseFormatText.

Explicit Interface Implementations

IJsonModel<ChatCompletionsResponseFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ChatCompletionsResponseFormat)
IJsonModel<ChatCompletionsResponseFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ChatCompletionsResponseFormat)
IJsonModel<ChatCompletionsResponseFormatText>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatCompletionsResponseFormatText>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatCompletionsResponseFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ChatCompletionsResponseFormat)
IPersistableModel<ChatCompletionsResponseFormat>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ChatCompletionsResponseFormat)
IPersistableModel<ChatCompletionsResponseFormat>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ChatCompletionsResponseFormat)
IPersistableModel<ChatCompletionsResponseFormatText>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatCompletionsResponseFormatText>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatCompletionsResponseFormatText>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to