Developers
ENPT

Automated tests

Let a simulated customer talk to your avatar and check the result against your criteria.

Testing by hand is useful, but it is slow and hard to repeat. Automated Tests lets you describe a test once, as a mission, and run it as many times as you need. A simulated customer talks to your avatar, and each answer is checked against your success criteria.

Open https://gestao.tolky.to/tests.

Create a mission

Click New Mission and fill in:

FieldWhat to writeExample
Test objectiveWhat the test checks.Validate whether the avatar confirms customer data before suggesting a solution.
Success criteria (one per line)Concrete, observable behaviors. Each line is checked separately.Confirms the customer name before giving guidance.
Conversation toneHow the simulated customer behaves.Rushed and objective customer.
Max iterationsThe maximum number of exchanges in the conversation.6

Click Create mission.

Write criteria a reader can check

"Answers well" cannot be checked. "Gives the return deadline in days" can. Use the test questions from your plan as a starting point.

Run a test

Select the mission and click Run test. While it runs, the screen shows the current iteration, such as "Iteration 2 of 6".

Each run appears under Runs with a status:

StatusMeaning
Pending / RunningThe test is in progress.
APPROVEDEvery criterion passed.
REPROVEDAt least one criterion did not pass.
FailedThe test could not finish.

Read the result

  • Turn Timeline shows the conversation turn by turn: the Simulated user message and the Avatar response.
  • View final report opens the Final report, with the Final status and Final score.
  • When a test is reproved, the report can include a Prompt improvement proposal with a summary, practical actions and evidence from the conversation.

A good routine

Build a set

Create one mission per important scenario: the main goal, a common question, an out-of-scope request and a handover case.

Run before every change goes live

After you change identity or content in an environment, run the set again.

Fix and repeat

Adjust identity or content based on the report, then run again until it passes.
AdvancedTechnical details

How a run works:

  1. In each iteration, a language model plays the customer. It writes the next message based on the objective, the tone, the criteria and the conversation so far.
  2. The message is sent to the avatar, and the answer is recorded.
  3. Every criterion is evaluated after each turn. The run stops early when all criteria pass, or when it reaches Max iterations.

The Final score is the percentage of criteria that passed. A run is APPROVED only at 100%.

For each turn, the timeline can be expanded to inspect what the avatar used to answer: Instructions, Requests, Logs, AI Analysis, Time and Message. This helps you find whether a wrong answer came from the identity, from a content block or from an automation.

Previous

Environments

Next

Go live