ProjectsAgentsModelFactory.UserConversationSimulationConfiguration 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.
Configures the number, length, audio effects, and simulated user behavior of conversations.
public static Azure.AI.Projects.Agents.UserConversationSimulationConfiguration UserConversationSimulationConfiguration(int? maxNumTurns = default, int? conversationRepetitions = default, int? desiredNumTurns = default, Azure.AI.Projects.Agents.UserConversationSimulationAudioEffectsConfiguration audioEffects = default, Azure.AI.Projects.Agents.UserConversationSimulationUserBehaviorConfiguration userBehavior = default);
static member UserConversationSimulationConfiguration : Nullable<int> * Nullable<int> * Nullable<int> * Azure.AI.Projects.Agents.UserConversationSimulationAudioEffectsConfiguration * Azure.AI.Projects.Agents.UserConversationSimulationUserBehaviorConfiguration -> Azure.AI.Projects.Agents.UserConversationSimulationConfiguration
Public Shared Function UserConversationSimulationConfiguration (Optional maxNumTurns As Nullable(Of Integer) = Nothing, Optional conversationRepetitions As Nullable(Of Integer) = Nothing, Optional desiredNumTurns As Nullable(Of Integer) = Nothing, Optional audioEffects As UserConversationSimulationAudioEffectsConfiguration = Nothing, Optional userBehavior As UserConversationSimulationUserBehaviorConfiguration = Nothing) As UserConversationSimulationConfiguration
Parameters
Hard limit on turns in each conversation. When omitted, the service defaults to 20.
Number of independent conversation repetitions for each test case. Defaults to 1 when not specified at either the data-source or test-case level.
Target number of turns in each conversation. The effective value cannot exceed the effective max_num_turns. When omitted, no target is set and the simulation model determines the conversation length dynamically from the scenario.
- audioEffects
- UserConversationSimulationAudioEffectsConfiguration
Audio effects applied to voice conversation simulations. This property is ignored for text-only simulations.
- userBehavior
- UserConversationSimulationUserBehaviorConfiguration
Conversation behavior of the simulated user.
Returns
A new UserConversationSimulationConfiguration instance for mocking.