What the LLM Playground Tests
- Prompt instruction following
- Response quality and tone
- Handling of unexpected or off-topic inputs
- Function and tool call behavior (does the agent call the right function with the right arguments?)
- Context window management across a multi-turn conversation
- Variable substitution in the prompt
What It Does Not Test
- Voice quality or pronunciation (no TTS involved)
- Transcription accuracy (no ASR involved)
- Response latency on a real call
- Telephony carrier behavior
- Audio interruption and barge-in handling
A prompt that works correctly in the LLM Playground may still have issues in a real call due to transcription errors or audio timing. Always follow up with an audio test or full test call before deploying to production.
Open the LLM Playground
- Navigate to your agent in the DialNexa dashboard.
- Click the LLM Playground tab in the agent detail view.
- The playground opens with the agent’s current draft configuration loaded.
Use the Playground
Send a Message
Type a message in the input field at the bottom and press Enter or click Send. The agent’s response appears in the conversation thread.Set Variables
If your agent prompt references variables (e.g.,{{customer_name}}), set their values before starting the conversation:
- Click Variables in the playground toolbar.
- Enter key-value pairs for each variable referenced in the prompt.
- Click Apply. The conversation resets and variables are injected into the prompt.
Review Function Calls
When the agent triggers a function or tool call, the playground displays a structured function call block showing:- The function name called
- The arguments passed
- The response returned (mocked or live, depending on your tool configuration)
Simulate Function Responses
For tools that make external HTTP calls, you can configure mock responses in the playground:- Click Tools in the toolbar.
- Find the tool you want to mock.
- Toggle Mock Response and enter the JSON response body to return.
Reset the Conversation
Click Clear in the toolbar to reset the conversation to the beginning. The agent’s memory of the conversation is cleared. Variables remain set.Example Workflow
Testing a support agent that looks up order status:- Set variables:
customer_name = "Alex",account_id = "acct_7842". - Send:
"Hi, I want to check on my order." - Verify the agent’s greeting uses
{{customer_name}}correctly. - Send:
"My order number is 9988." - Verify the agent calls the
lookup_orderfunction withorder_id = "9988"andaccount_id = "acct_7842". - Review the mock function response handling.
- Send an off-script message:
"Can you also book me a flight?" - Verify the agent declines gracefully and stays on topic.
Limitations
| Limitation | Details |
|---|---|
| No voice or audio | TTS and ASR are not exercised. Pronunciation issues will not appear here. |
| No latency measurement | Response speed in the playground does not reflect real-call latency, which depends on the full stack including transcription and audio streaming. |
| No barge-in simulation | The playground does not simulate a caller interrupting the agent mid-response. |
| Draft version only | The playground loads the current draft. To test a specific published version, you must check out or recreate that version’s configuration. |