ProjectsAgentsModelFactory.UserConversationSimulationTestCase 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.
Defines one test scenario. Simulation configuration properties specified here override the corresponding data-source defaults.
public static Azure.AI.Projects.Agents.UserConversationSimulationTestCase UserConversationSimulationTestCase(string testCaseId = default, string testCaseCategory = default, string testCaseDescription = default, Azure.AI.Projects.Agents.UserConversationSimulationConfiguration simulationConfiguration = default);
static member UserConversationSimulationTestCase : string * string * string * Azure.AI.Projects.Agents.UserConversationSimulationConfiguration -> Azure.AI.Projects.Agents.UserConversationSimulationTestCase
Public Shared Function UserConversationSimulationTestCase (Optional testCaseId As String = Nothing, Optional testCaseCategory As String = Nothing, Optional testCaseDescription As String = Nothing, Optional simulationConfiguration As UserConversationSimulationConfiguration = Nothing) As UserConversationSimulationTestCase
Parameters
- testCaseId
- String
Identifier for the test case. When omitted, the service generates a random identifier.
- testCaseCategory
- String
Category used to group related test cases. When omitted, the service leaves the category null.
- testCaseDescription
- String
Scenario, simulated user goal, and behavioral constraints that guide the conversation. The length must be from 1 through 2,500 characters.
- simulationConfiguration
- UserConversationSimulationConfiguration
Configuration for conversations generated from this test case. Each specified property overrides the corresponding property in default_simulation_configuration.
Returns
A new UserConversationSimulationTestCase instance for mocking.