RequestAudioContentPart 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.
An audio content part for a request.
public class RequestAudioContentPart : Azure.AI.VoiceLive.VoiceLiveContentPart, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.RequestAudioContentPart>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.RequestAudioContentPart>
type RequestAudioContentPart = class
inherit VoiceLiveContentPart
interface IJsonModel<RequestAudioContentPart>
interface IPersistableModel<RequestAudioContentPart>
Public Class RequestAudioContentPart
Inherits VoiceLiveContentPart
Implements IJsonModel(Of RequestAudioContentPart), IPersistableModel(Of RequestAudioContentPart)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| RequestAudioContentPart() |
Initializes a new instance of RequestAudioContentPart. |
| RequestAudioContentPart(String) |
Initializes a new instance of RequestAudioContentPart. |
Properties
| Name | Description |
|---|---|
| Audio |
Base64-encoded audio bytes, these will be parsed as the format specified in the session input audio type configuration. This defaults to PCM 16-bit 24kHz mono if not specified. |
| Transcript |
Optional transcript of the audio content. This is not sent to the model, but will be attached to the message item for reference. |