/static/aifusion/evaluationYou can create tests in two ways:
Let's start with manual creation to understand the fundamentals, then explore auto-generation.
Click the "Create New Test" button in the interface.
Select which AI agent you want to test:
This tells the system which agent will answer the questions.
Enter a Customer ID (also called Instance ID or IID).
Why is this needed? Your AI agent uses real customer data to answer questions. The customer ID tells the system which customer's data to use during testing.
Example:
Customer ID: 1 might represent "John Smith" with checking and savings accounts.
Tip: Use test customers created specifically for testing, not production customer data.
Now you'll create the questions and define what good answers should include.
Question: Type what a customer would ask
Example: "What are my current account balances?"
Expected Answer: Describe what a good response should include
Example: "The agent should list all accounts (checking, savings, credit cards) with current balances and include the as-of date."
Important: You don't need to write the exact words the agent should say. Instead, describe what information the answer should contain.
For multi-turn conversations, add follow-up questions:
Question: "Which account has the highest balance?"
Expected Answer: "The agent should identify the specific account name and state the exact balance amount."
Choose what to measure and set minimum acceptable scores.
For each criterion, set the minimum acceptable score (scale of 0-5):
Recommended starting values:
4.0 (or 4.5 for critical information)4.04.03.5Threshold types:
Tip: Start with thresholds around 4.0. You can adjust them later based on actual performance.
Give your test a clear, descriptive name:
Good names:
Poor names:
Choose a Test Suite: Select an existing suite from the dropdown, or type a new name to create one.
Example: Save to suite "Banking_Tests"
Click Save.
Auto-generation uses AI to create realistic test conversations automatically. This is much faster than manual creation and can discover scenarios you might not think of.
Click "Create New Test", then select "Auto-Generate Conversation".
Required fields:
1)"Banking_Tests")Narrow the topic the AI should ask about.
Examples:
"billing issues""loan applications""account balances""credit card inquiries"Leave blank for general, diverse questions.
Specify what type of customer to simulate.
Examples:
"confused elderly customer""tech-savvy millennial""frustrated customer with billing issue""new customer unfamiliar with services""business customer asking about corporate accounts"Leave blank for neutral persona.
How many question/answer turns to generate (default: 15).
Recommendations:
Click "Generate" and watch in real-time as:
You can stop anytime and save the current conversation.
Look through the generated conversation:
Check for:
Red flags:
You can edit the generated conversation:
The system auto-generates a name, but you can rename it to something more descriptive.
Click Save to add it to your test suite.
Let's walk through a complete example for a banking agent.
Turn 1:
Turn 2:
Turn 3:
Save to suite: Banking_Tests
Create 1-2 simple tests before building complex multi-turn conversations.
Write questions the way real customers would ask them, not formal technical language.
Vague expectations lead to inconsistent evaluation. Be clear about what a complete answer includes.
Each test should focus on one scenario. Don't try to test account balances, loans, and transfers all in one test.
Generate a few tests and review them to see examples of good test structure.
Your first tests won't be perfect. Run them, learn from results, and refine.
Now that you've created your first test, you're ready to:
Next Article: Running Tests and Understanding Results
/static/aifusion/evaluationYou can create tests in two ways:
Let's start with manual creation to understand the fundamentals, then explore auto-generation.
Click the "Create New Test" button in the interface.
Select which AI agent you want to test:
This tells the system which agent will answer the questions.
Enter a Customer ID (also called Instance ID or IID).
Why is this needed? Your AI agent uses real customer data to answer questions. The customer ID tells the system which customer's data to use during testing.
Example:
Customer ID: 1 might represent "John Smith" with checking and savings accounts.
Tip: Use test customers created specifically for testing, not production customer data.
Now you'll create the questions and define what good answers should include.
Question: Type what a customer would ask
Example: "What are my current account balances?"
Expected Answer: Describe what a good response should include
Example: "The agent should list all accounts (checking, savings, credit cards) with current balances and include the as-of date."
Important: You don't need to write the exact words the agent should say. Instead, describe what information the answer should contain.
For multi-turn conversations, add follow-up questions:
Question: "Which account has the highest balance?"
Expected Answer: "The agent should identify the specific account name and state the exact balance amount."
Choose what to measure and set minimum acceptable scores.
For each criterion, set the minimum acceptable score (scale of 0-5):
Recommended starting values:
4.0 (or 4.5 for critical information)4.04.03.5Threshold types:
Tip: Start with thresholds around 4.0. You can adjust them later based on actual performance.
Give your test a clear, descriptive name:
Good names:
Poor names:
Choose a Test Suite: Select an existing suite from the dropdown, or type a new name to create one.
Example: Save to suite "Banking_Tests"
Click Save.
Auto-generation uses AI to create realistic test conversations automatically. This is much faster than manual creation and can discover scenarios you might not think of.
Click "Create New Test", then select "Auto-Generate Conversation".
Required fields:
1)"Banking_Tests")Narrow the topic the AI should ask about.
Examples:
"billing issues""loan applications""account balances""credit card inquiries"Leave blank for general, diverse questions.
Specify what type of customer to simulate.
Examples:
"confused elderly customer""tech-savvy millennial""frustrated customer with billing issue""new customer unfamiliar with services""business customer asking about corporate accounts"Leave blank for neutral persona.
How many question/answer turns to generate (default: 15).
Recommendations:
Click "Generate" and watch in real-time as:
You can stop anytime and save the current conversation.
Look through the generated conversation:
Check for:
Red flags:
You can edit the generated conversation:
The system auto-generates a name, but you can rename it to something more descriptive.
Click Save to add it to your test suite.
Let's walk through a complete example for a banking agent.
Turn 1:
Turn 2:
Turn 3:
Save to suite: Banking_Tests
Create 1-2 simple tests before building complex multi-turn conversations.
Write questions the way real customers would ask them, not formal technical language.
Vague expectations lead to inconsistent evaluation. Be clear about what a complete answer includes.
Each test should focus on one scenario. Don't try to test account balances, loans, and transfers all in one test.
Generate a few tests and review them to see examples of good test structure.
Your first tests won't be perfect. Run them, learn from results, and refine.
Now that you've created your first test, you're ready to:
Next Article: Running Tests and Understanding Results