VoiceLiveSessionOptions 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.
The VoiceLiveRequestSession.
public class VoiceLiveSessionOptions : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.VoiceLiveSessionOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.VoiceLiveSessionOptions>
type VoiceLiveSessionOptions = class
interface IJsonModel<VoiceLiveSessionOptions>
interface IPersistableModel<VoiceLiveSessionOptions>
Public Class VoiceLiveSessionOptions
Implements IJsonModel(Of VoiceLiveSessionOptions), IPersistableModel(Of VoiceLiveSessionOptions)
- Inheritance
-
VoiceLiveSessionOptions
- Derived
- Implements
Constructors
| VoiceLiveSessionOptions() |
Initializes a new instance of VoiceLiveSessionOptions. |
Properties
| Animation |
The animation configuration for the session. |
| Avatar |
Configuration for avatar streaming and behavior during the session. |
| InputAudioEchoCancellation |
Configuration for echo cancellation during server-side audio processing. |
| InputAudioFormat |
Input audio format. Default is 'pcm16'. |
| InputAudioNoiseReduction |
Configuration for input audio noise reduction. |
| InputAudioSamplingRate |
Input audio sampling rate in Hz. Available values:
|
| InputAudioTranscription |
Configuration for input audio transcription. |
| Instructions |
Optional instructions to guide the model's behavior throughout the session. |
| MaxResponseOutputTokens |
Gets or sets the maximum number of tokens to generate in the response. |
| Modalities |
The modalities to be used in the session. |
| Model |
The model for the session. |
| OutputAudioFormat |
Output audio format. Default is 'pcm16'. |
| OutputAudioTimestampTypes |
Types of timestamps to include in audio response content. |
| Temperature |
Controls the randomness of the model's output. Range: 0.0 to 1.0. Default is 0.7. |
| ToolChoice |
Gets or sets the tool choice strategy for response generation. |
| Tools |
Configuration for tools to be used during the session, if applicable. |
| TurnDetection |
Gets or sets the TurnDetection. |
| Voice |
Gets or sets the Voice. |