https://retellai.com/?utm_source=discord&utm_medium=seo logo
explain Simulation tab in agent configuration
# ❓・ai-evy-support
d
@AI Evy explain Simulation tab in agent configuration
a
Thanks for tagging me @dropsofsteel. I'll look through relevant sources and get back to you shortly.
### Answer The Simulation tab in Retell AI's agent configuration allows you to create user prompts to guide how users would interact with your agent and evaluate the results using defined metrics [(1) ]() . This testing environment lets you validate agent behavior before live deployment [(2) ]() . ## Key Features **AI Simulated Chat**: You can create test cases by clicking "AI Simulated Chat" to define user scenarios [(1) ]() . The recommended format includes :
Copy code
## Identity
Your name is Mike.
Your date of birth is June 10, 1999.
Your order number is 7891273.
## Goal
Your primary objective is to return the package you received and get a refund.
## Personality
You are a patient customer. However, if the conversation becomes too long or complicated, you will show signs of impatience. If the issue remains unresolved, you may become frustrated and angry.
**LLM Model Selection**: You can select which LLM model to use to generate user conversation . **Evaluation Metrics**: Define metrics you want to measure in this format :
Copy code
1. Verify that the customer successfully returned the package and received a refund.
2. Confirm that the end_call function was called at the end of the conversation.
3. Ensure the agent's responses are conversational and contain 5 sentences or fewer.
**Test Variables and Function Mocks**: You can specify dynamic variables to be used during testing and set up mocks for custom functions to prevent calling actual functions during testing, ensuring consistent results across test runs . **Batch Testing**: Retell AI supports batch simulation testing, allowing you to run multiple test cases at once [(3) ]() [(4) ]() . After running a simulation, you can manually review the conversation to identify any issues [(1) ]() , then save successful test cases for future use .
​ To learn more, see the sources I considered: [[1] Automatically test your agent](https://docs.retellai.com/test/llm-simulation-testing) [[2] Introduction](https://docs.retellai.com/general/introduction) [[3] Simulation Testing Now Live for All Agents](https://www.retellai.com/changelog/simulation-testing-now-live-for-all-agents-c27zh) [[4] Retell AI Introduces Simulation and Batch Testing for AI Agents | Retell AI](https://www.retellai.com/blog/retell-ai-introduces-simulation-and-batch-testing-for-ai-agents) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.