Język

UserConversationSimulationTestCase Class

Definition

Defines one test scenario. Simulation configuration properties specified here override the corresponding data-source defaults.

public class UserConversationSimulationTestCase : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.UserConversationSimulationTestCase>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.UserConversationSimulationTestCase>
type UserConversationSimulationTestCase = class
    interface IJsonModel<UserConversationSimulationTestCase>
    interface IPersistableModel<UserConversationSimulationTestCase>
Public Class UserConversationSimulationTestCase
Implements IJsonModel(Of UserConversationSimulationTestCase), IPersistableModel(Of UserConversationSimulationTestCase)
Inheritance
UserConversationSimulationTestCase
Implements

Constructors

Name Description
UserConversationSimulationTestCase()

Initializes a new instance of UserConversationSimulationTestCase.

Properties

Name Description
SimulationConfiguration

Configuration for conversations generated from this test case. Each specified property overrides the corresponding property in default_simulation_configuration.

TestCaseCategory

Category used to group related test cases. When omitted, the service leaves the category null.

TestCaseDescription

Scenario, simulated user goal, and behavioral constraints that guide the conversation. The length must be from 1 through 2,500 characters.

TestCaseId

Identifier for the test case. When omitted, the service generates a random identifier.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<UserConversationSimulationTestCase>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<UserConversationSimulationTestCase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<UserConversationSimulationTestCase>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<UserConversationSimulationTestCase>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<UserConversationSimulationTestCase>.Write(ModelReaderWriterOptions)

Applies to