https://retellai.com/?utm_source=discord&utm_medium=seo logo
how Simulation works
# ❓・ai-evy-support
m
@AI Evy how Simulation works?
a
Thanks for tagging me @matteo_v99. I'll look through relevant sources and get back to you shortly.
### Answer Simulation testing in Retell AI allows you to test your agent by writing user prompts that simulate full conversations automatically [(1) ]() . Instead of manually typing inputs, you define a user scenario with a prompt that guides how users would interact with your agent [(2) ]() . ## How It Works Step 1: Create a new test case by clicking "AI Simulated Chat" . Step 2: Define the user prompt using a recommended format that includes identity, goal, and personality . For example:
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.
Step 3: Select which LLM model to use for generating the user conversation . Step 4: Run the simulation by clicking "Test" to start the conversation . Step 5: Manually review the conversation to identify any issues . Step 6: Save the test case for future use . Step 7: Define evaluation metrics to measure performance . You can also use Batch Simulation Testing to run multiple test cases at once [(1) ]() [(3) ]() . This saves time when you have multiple scenarios to verify and helps ensure reliable outcomes by running tests multiple times [(3) ]() .
​ To learn more, see the sources I considered: [[1] Simulation Testing Now Live for All Agents](https://www.retellai.com/changelog/simulation-testing-now-live-for-all-agents-c27zh) [[2] Automatically test your agent](https://docs.retellai.com/test/llm-simulation-testing) [[3] Batch test your agent](https://docs.retellai.com/test/batch-test-simulation) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @matteo_v99. I'll get back to you soon.
### Answer I understand you're referring to a specific simulation feature. Could you clarify which simulation you're asking about? Based on the sources, Retell AI offers several simulation capabilities [(1) ]() [(2) ]() [(3) ]() [(4) ]() : 1. LLM Simulation Testing - Write user prompts to simulate full conversations automatically [(1) ]() [(3) ]() 2. Batch Simulation Testing - Run multiple test cases simultaneously 3. AI Simulated Chat - Define user prompts with identity, goal, and personality to test end-to-end conversations [(3) ]() [(4) ]() 4. Conversation Simulation Suite - Define test cases, success criteria, and monitor batch testing performance [(4) ]() If you could share more context (like a screenshot, specific feature name, or where you saw it in the dashboard) , I can provide more targeted information about that particular simulation feature.
m
@AI Evy Can you find this kind of phrase in the documentation: - If you think user is still thinking or hasn't finished speaking, output exactly the following: NO_RESPONSE_NEEDED
a
Thanks for the follow-up, @matteo_v99. I'll get back to you soon.
### Answer ### Answer Yes, similar phrasing exists in the official documentation. The documentation explains that
NO_RESPONSE_NEEDED
is a hard-coded stop sequence in the LLM [(1) ]() . When this sequence is met, response generation stops . The documentation provides this example prompt:
Copy code
- if user says "hold on", reply exactly the following: "NO_RESPONSE_NEEDED".
This is used when you want the agent to hold and not respond to the user, such as when the user says "hold on" or "give me a minute" . The specific phrase you mentioned about "user is still thinking or hasn't finished speaking" is not in the official documentation, but the concept is the same - instructing the agent to output
NO_RESPONSE_NEEDED
to remain silent .
​ To learn more, see the sources I considered: [[1] Make agent hold and respond nothing](https://docs.retellai.com/build/no-response) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Simulation Testing Now Live for All Agents](https://www.retellai.com/changelog/simulation-testing-now-live-for-all-agents-c27zh) [[2] Testing Overview](https://docs.retellai.com/test/test-overview) [[3] 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) [[4] Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI](https://www.retellai.com/blog/inside-retell-ai-conversational-ai-phone-system) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.