LLM Simulation Testing
Automatically test your agent
This feature is only available for conversation flow agents.
Overview
You can create customer prompts to guide how customers would interact with your agent and evaluate the results using defined metrics.
Steps
Step 1: Create a new test case
Click “AI Simulated Chat” to create a new test case.
Step 2: Define the customer prompt
Define the customer scenario by providing a prompt. We recommend using this format:
Step 3: Run the simulation
Click “Test” to start the conversation.
Step 4: Review the results
Manually review the conversation to identify any issues.
Step 5: Save as test case
Click “Save” to preserve the test case for future use.
Step 6: Define the evaluation metrics
Define the metrics you want to measure. We recommend using this format:
Step 7: (Optional) Configure test variables and function mocks
You can specify dynamic variables to be used during testing.
Additionally, you can set up mocks for custom functions to prevent calling actual functions during testing, ensuring consistent results across test runs.
Was this page helpful?