ProjectsAgentsModelFactory.VoiceAgentAvatarConfig Method
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.
Avatar configuration for a voice agent. These values are session defaults and may be overridden when connecting.
public static Azure.AI.Projects.Agents.VoiceAgentAvatarConfig VoiceAgentAvatarConfig(Azure.AI.Projects.Agents.VoiceAgentAvatarType type = default, string character = default, string style = default, bool? customized = default, Azure.AI.Projects.Agents.VoiceAgentAvatarOutputProtocol? outputProtocol = default, string model = default, Azure.AI.Projects.Agents.VoiceAgentAvatarVideoParams video = default, Azure.AI.Projects.Agents.VoiceAgentAvatarScene scene = default, bool? outputAuditAudio = default);
static member VoiceAgentAvatarConfig : Azure.AI.Projects.Agents.VoiceAgentAvatarType * string * string * Nullable<bool> * Nullable<Azure.AI.Projects.Agents.VoiceAgentAvatarOutputProtocol> * string * Azure.AI.Projects.Agents.VoiceAgentAvatarVideoParams * Azure.AI.Projects.Agents.VoiceAgentAvatarScene * Nullable<bool> -> Azure.AI.Projects.Agents.VoiceAgentAvatarConfig
Public Shared Function VoiceAgentAvatarConfig (Optional type As VoiceAgentAvatarType = Nothing, Optional character As String = Nothing, Optional style As String = Nothing, Optional customized As Nullable(Of Boolean) = Nothing, Optional outputProtocol As Nullable(Of VoiceAgentAvatarOutputProtocol) = Nothing, Optional model As String = Nothing, Optional video As VoiceAgentAvatarVideoParams = Nothing, Optional scene As VoiceAgentAvatarScene = Nothing, Optional outputAuditAudio As Nullable(Of Boolean) = Nothing) As VoiceAgentAvatarConfig
Parameters
- type
- VoiceAgentAvatarType
The avatar type.
- character
- String
The avatar character identifier, e.g. 'lisa'.
- style
- String
The avatar style, e.g. 'casual-sitting'.
- outputProtocol
- Nullable<VoiceAgentAvatarOutputProtocol>
The transport used to deliver the avatar video stream.
- model
- String
The avatar model identifier.
Avatar video encoder and presentation settings.
- scene
- VoiceAgentAvatarScene
Avatar placement and motion settings.
Whether audit audio is emitted with avatar output. Defaults to false.
Returns
A new VoiceAgentAvatarConfig instance for mocking.