GenerateVoiceAgentRequest 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 inputs for generating a voice agent. Only kind and name are always required.
The authoring service expands these inputs into a full, editable VoiceAgentDefinition, which is then created through POST /agents.
The generated instructions and audio/voice settings are stored as separate fields on the resulting agent
definition, so the caller can edit or override any of them afterward via standard agent versioning.
public class GenerateVoiceAgentRequest : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.GenerateVoiceAgentRequest>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.GenerateVoiceAgentRequest>
type GenerateVoiceAgentRequest = class
interface IJsonModel<GenerateVoiceAgentRequest>
interface IPersistableModel<GenerateVoiceAgentRequest>
Public Class GenerateVoiceAgentRequest
Implements IJsonModel(Of GenerateVoiceAgentRequest), IPersistableModel(Of GenerateVoiceAgentRequest)
- Inheritance
-
GenerateVoiceAgentRequest
- Implements
Constructors
| Name | Description |
|---|---|
| GenerateVoiceAgentRequest(String) |
Initializes a new instance of GenerateVoiceAgentRequest. |
Properties
| Name | Description |
|---|---|
| Description |
An optional agent description. The authoring service resolves its fallback when omitted. |
| Draft |
(Preview) When |
| Goal |
An optional natural-language description of what the agent should do. When supplied, it seeds the generated instructions. |
| Model |
Optional model identifier. Required when |
| ModelType |
Optional inference mode. When omitted, the authoring service uses |
| Name |
The unique name for the agent to create. Must be a non-empty DNS-like agent name. |
| Tools |
Optional tools carried through verbatim onto the generated agent (see |
| UseCase |
An optional authoring use case. An empty string is accepted. |