https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> I'm trying to setup simulat...
# ❓・ai-evy-support
g
@AI Evy I'm trying to setup simulation testing for a multi prompt agent. First is that possible? Is that possible for voice calls (not text). I want to add custom mock functions. I can't seem to be able to click into the field name the function, so I can't save it. The docs are pretty light on this, or I'm looking in the wrong place. Any further direction on how to actually set this up would be appreciated.
a
Thanks for tagging me @greg_88766. I'll look through relevant sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Automatically test your agent]() * [Integrate Function Calling]() * [Batch test your agent]() * [Integrate any system with custom function]() -----------------------------
### Answer The simulation testing feature is only available for conversation flow agents [(1)]() . There was a recent issue with simulation testing in multi-state agents that has been fixed [(2)]() . For setting up mocks, you can configure test variables and function mocks as an optional step in the simulation testing process [(1)]() . This allows you to prevent calling actual functions during testing, ensuring consistent results across test runs . For creating a test case: 1. Click "AI Simulated Chat" to create a new test case 2. Define your customer prompt 3. Click "Test" to start the conversation 4. Review the results 5. Click "Save" to preserve the test case 6. Define evaluation metrics 7. Configure your test variables and function mocks You can also run batch tests to verify multiple test cases efficiently [(3)]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
g
@AI Evy I'm not quite clear. Because this is multi prompt, rather than 'conversation flow' it is not suppored? Is that correct? But there was a recent issue that has been fixed for simulation with multi state prompt simulation, which suggest that there is, or was support? Because I am using multi prompt, should I abandon trying to setup the simulation?
a
Thanks for the follow-up, @greg_88766. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Automatically test your agent]() * [Testing Overview]() * [Retell AI Introduces Simulation and Batch Testing for AI Agents | Retell AI]() * [CF Testing Suite | Retell AI Feature](

▾

) -----------------------------
### Answer The simulation testing feature is explicitly stated as "only available for conversation flow agents" [(1)]() . This is a clear limitation mentioned in the documentation. From recent Discord discussions, there appears to be some confusion about this limitation. A user asked about using "simulation for single prompts" [(2)]() , suggesting that simulation testing is not currently supported for multi-prompt agents. According to discussions about the differences between multi-prompt and conversation flows, conversation flows are described as "a more advanced version of multiprompt agents" [(3)]() . The recommendation from experienced users is to use conversation flows instead of multi-prompt agents, as conversation flows offer more features . Based on these sources, I would recommend: 1. Consider migrating to conversation flows since simulation testing is explicitly supported there [(1)]() 2. If you need to stay with multi-prompt, you'll need to use alternative testing methods like the LLM Playground or Web Call/Phone Call testing [(4)]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
g
@AI Evy If i switch to conversational flow, can I simulate the testing of calls or it it just for chats?
a
Thanks for the follow-up, @greg_88766. I'll get back to you soon.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Testing Overview]() * [Integrate Function Calling]() * [Inside Retell AI | The Conversational AI Platform Behind Scalable AI Phone Systems | Retell AI]() * [Retell AI Introduces Simulation and Batch Testing for AI Agents | Retell AI]() -----------------------------
### Answer Currently, the simulation testing capabilities are primarily focused on chat interactions. According to the features table, background noise testing and user interruption testing are only available through Web Call/Phone Call Testing, not through simulation testing [(1)]() . For testing voice interactions specifically, you would need to use the Web Call/Phone Call Testing option, which allows you to evaluate: - Background noise testing - User interruption testing - Performance during real phone conversations Audio Simulation Testing is listed as "Available soon" in the features comparison table , so this capability may be added in the future.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.