Batch Testing supports the Zero-shot Model for intent detection. Ensure the Zero-shot ML Model feature is enabled and the ML Network Type is set to Zero-shot model.
Best Practices
- Build a test suite of representative utterances first, then train against failures.
- Update test suites regularly for high-usage utterances.
- Publish only after thorough testing.
- Keep intent names short (3-5 words), avoid special characters and stop words.
- Batch tests don’t consider conversation context — some False Negatives may be True Positives in live sessions.
- The “count” in batch results refers to unique assertion statements, not CSV rows. Consecutive rows with the same utterance and different entity values count as one assertion.
- Batch testing scores original input, not spell-corrected input.
Test Suite Types
Creating a Test Suite
- Go to Batch Testing and click New Test Suite.
- Enter a Name and Description.
- Choose how to add test cases:
- Add Manually — enter cases by hand or auto-generate with LLM.
- Upload a File — import a CSV or JSON file (max 1000 utterances).
Adding Test Cases Manually
- In the test suite, click +Add Test Case.
- Fill in:
- Intent — the dialog task to test. You can tag up to 3 intents (Dialog, FAQ, Small Talk) per utterance for by-design ambiguity scenarios.
- Parent Intent — for child intents.
- Test Utterances — one per line.
- Entity Order — extraction order (not available when multiple intents are selected).
- Click Save.
Auto-Generating Test Cases
Requires LLM and Generative AI to be enabled.- Click Generate Test Cases.
- Select the Dialog Task.
- Click Generate and wait for results.
- Review suggestions; reject unwanted ones or click Generate more.
- Click Add Test Cases.
Test Suite File Formats
JSON Format
"entityValue": "Apples||Grapes"
Composite entities: "entityValue": "City:Hyderabad|Date:2018-07-06|Curr:1200 INR"
JSON properties:
CSV Format
Entity Format Conversions
Running a Test Suite
- Click the test suite name in the Batch Testing window.
- Select In Development or Published.
- Click Run Test Suite.
Cancel a Running Test
- Click the Cancel icon next to the running suite.
- Confirm with Yes.
- Canceled tests can’t produce a downloadable CSV report.
- Orange warning icon = canceled. Red warning icon = failed due to technical error.
- Can’t cancel if another test execution or cancellation is in progress.
- Can’t cancel a Published-mode run if the app hasn’t been published.
Test Results
Each run shows:
Run outcomes: Success, Success with warning (some records discarded), or Failed (system error).
Elimination Reason
When expected intent ≠ winning intent, the Elimination Reason column shows why. R&R policy reasons take precedence; otherwise scores from each engine are shown (FM: [score], ML: [score], FAQ: [score]).