- Rapid prototyping and debugging of agent responses
- Testing different conversation scenarios
- Immediate feedback on agent behavior
- Faster development iterations
How to Use
1
Access the LLM Playground
- Navigate to your agent’s detail page
- Click the Test LLM tab
- Choose Manual Chat
2
Test basic conversations
Type your message in the input field and observe the agent’s response.
3
Test function calling
Use prompts that should trigger specific functions. Verify that functions are called with the correct parameters.
4
Test dynamic variables
Use dynamic variables in your prompts. Verify that variables are properly interpolated and test different variable values.
5
Mock custom functions
Add a mock response for functions during testing. The mock response is returned instead of making a real function call, ensuring no actual execution occurs during tests.
6
Iterate and refine
Monitor agent behavior and responses. Update prompts or functions as needed, then click Delete to reset the conversation and test the updated behavior.
7
Save test cases
Click Save to store your test conversation. Add a descriptive name — saved tests are accessible from the agent detail page for future regression testing.
Best Practices
- Start with simple conversations and gradually test more complex scenarios
- Save important test cases for regression testing
- Test edge cases and error handling
- Document unexpected behaviors for future reference