你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ItemContentOutputAudio Class

Definition

An audio output from the model.

public class ItemContentOutputAudio : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputAudio>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputAudio>
type ItemContentOutputAudio = class
    inherit ItemContent
    interface IUtf8JsonSerializable
    interface IJsonModel<ItemContentOutputAudio>
    interface IPersistableModel<ItemContentOutputAudio>
Public Class ItemContentOutputAudio
Inherits ItemContent
Implements IJsonModel(Of ItemContentOutputAudio), IPersistableModel(Of ItemContentOutputAudio)
Inheritance
ItemContentOutputAudio
Implements

Constructors

Name Description
ItemContentOutputAudio()

Initializes a new instance of ItemContentOutputAudio for deserialization.

ItemContentOutputAudio(ItemContentType, IDictionary<String,BinaryData>, String, String)

Initializes a new instance of ItemContentOutputAudio.

ItemContentOutputAudio(String, String)

Initializes a new instance of ItemContentOutputAudio.

Properties

Name Description
Data

Base64-encoded audio data from the model.

Transcript

The transcript of the audio data from the model.

Type

Gets or sets the type.

(Inherited from ItemContent)

Methods

Name Description
DeserializeItemContentOutputAudio(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

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

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ItemContent)
IJsonModel<ItemContentOutputAudio>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ItemContentOutputAudio>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ItemContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ItemContent)
IPersistableModel<ItemContentOutputAudio>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ItemContentOutputAudio>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ItemContentOutputAudio>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to