VoiceAudioItem 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.
Metadata for a single conversation item's audio segment. For bring-your-own-storage (BYOS), the response includes
blob_uri, a direct customer-storage URI without a SAS token, that the customer accesses with their own
credentials. For Foundry-managed storage, blob_uri is absent and the bytes are streamed through the item's
/audio/content route.
public class VoiceAudioItem : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.VoiceAudioItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.VoiceAudioItem>
type VoiceAudioItem = class
interface IJsonModel<VoiceAudioItem>
interface IPersistableModel<VoiceAudioItem>
Public Class VoiceAudioItem
Implements IJsonModel(Of VoiceAudioItem), IPersistableModel(Of VoiceAudioItem)
- Inheritance
-
VoiceAudioItem
- Implements
Properties
| Name | Description |
|---|---|
| BlobUri |
For bring-your-own-storage (BYOS) recordings only: the URI of the recording in the customer's own storage, without a SAS token. The customer downloads it using their own storage credentials. Absent for Foundry-managed storage, where the bytes are streamed via the item's |
| Channels |
The number of audio channels. |
| Codec |
The audio codec. |
| ConversationId |
The id of the conversation the item belongs to. |
| DurationMs |
The duration of the audio segment. |
| Format |
The container format of the audio. |
| ItemId |
The id of the item this audio belongs to. |
| Role |
The role the audio belongs to. |
| SampleRate |
The sample rate in Hz. |
| StartOffsetMs |
The offset from the session start at which this segment begins. |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to VoiceAudioItem) | |