Share via


ChatMessageInputAudio Class

Definition

The details of the input audio data.

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

Constructors

Name Description
ChatMessageInputAudio(String, AudioContentFormat)

Initializes a new instance of ChatMessageInputAudio.

Properties

Name Description
Data

Base64 encoded audio data.

Format

The audio format of the audio content.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
Load(String, AudioContentFormat)

Explicit Interface Implementations

Name Description
IJsonModel<ChatMessageInputAudio>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatMessageInputAudio>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChatMessageInputAudio>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatMessageInputAudio>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatMessageInputAudio>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to