Test Set is a structured collection of test cases designed to evaluate specific functionalities, workflows, or scenarios in a project.

To define a test set you need to specify the following attributes:

  • Test Set Name

  • Test Set Owner

  • Test Set Description

  • Type of Test Set:

Field DescriptionDescriptionExample Test Case
ScenarioNatural language descriptions of user intents and goals.Call my agent to order a pizza
TranscriptConversation history between user and assistant to resimulate.[{“role”: “assistant”, “content”: “Welcome to X Restaurant. How may I assist you today?”}, {“role”: “user”, “content”: “I would like to order some pizza.”}]
WorkflowGraph showing the workflow you would like to test.Greeting the customer -> Ask for Pizza -> Confirm request
StreamAudio stream-
DefaultGeneric test set type.Default value.

Each test case consist of:

  • Input: Has the same format as the defined test set (see examples in the table above)

  • Expected Output (Optional): Specify an expected test output if wished.

Add a Test Case

See API documentation for more details here

Was this page helpful?