Ejento AI
Guides
QuickstartRecipesREST APIsRelease NotesFAQs
Guides
QuickstartRecipesREST APIsRelease NotesFAQs
Ejento AI
  1. Guides
  • Basic Operations
    • Features
      • Organization → Projects → Assistants → Teams Hierarchy
    • Guides
      • Login/Signup
  • Assistants
    • Overview
    • Features
      • Assistant Access Control
      • Assistant Evaluation
      • Evaluation Metrics
      • URL-based Chat Thread Creation and Prepopulation
      • Reasoning Patterns
      • Staging & Publishing
    • Guides
      • Add Assistant
      • Evaluate Assistant
      • Edit Assistant
      • Assistant Edit Access
      • Embed Assistant
      • Delete Assistant
      • Add Favourite Assistants
      • View Assistant Id
      • Voice Calling with Assistants
  • Corpus
    • Overview
    • Features
      • Corpus Permissions
      • PII Redaction
      • ETag Setup for Corpus Incremental Refresh
    • Guides
      • Assistant Corpus Setup
      • Assistant Corpus Settings
      • Corpus Access Control
      • Corpus Connections
      • View Corpus Id
      • View Document Id
      • Tagging
        • Corpus tagging
        • Document tagging
  • Teams
    • Overview
    • Guides
      • Add a Team
      • Edit a Team
      • Delete a Team
      • View Team Id
  • Projects
    • Overview
    • Guides
      • Add a Project
      • Edit a Project
      • Managing Assistants in a Project
      • Delete a Project
      • View Project Id
  • User Settings
    • Overview
    • Features
      • Ejento AI User Access Levels
    • Guides
      • Add new user
      • Invite Users via Link or Email
      • View my User Id
  • API Keys
    • Overview
    • Guides
      • How to generate API Key and Auth Token
  • Workflows
    • Overview
    • Features
      • Workflow Access Control
    • Guides
      • Add Workflow
      • Workflow Chat
      • Workflow Edit Access
  • Tools
    • Overview
    • Guides
      • Tools Overview
      • Create External Tool
      • Connect Tool to Assistant
  • Analytics
    • Overview
    • Guides
      • Analyzing Data in the Analytics Dashboard
  • Chatlogs
    • Overview
    • Guides
      • Managing Chatlogs
      • View Chatlog & Chat thread Id
  • Integrations
    • Overview
    • Guides
      • Email Indexing
      • Microsoft Teams
      • Sharepoint Indexing
      • Google Drive Connector
      • MS Teams Integration Setup
      • Creating a Connection in Credential Manager
      • Slack App
      • Discord Bot
  • Ejento AI Shield
    • Overview
    • Features
      • Understanding Guardrails
    • Guides
      • How to enable Guardrails
  • Assistant Security
    • Overview
    • Features
      • Assistant Red Teaming
    • Guides
      • Red Team an Assistant
  • Permission Sets
    • Overview
    • Guides
      • Add Permission Set
  • Usage
    • Overview
    • Guides
      • Set Spend Limits
  1. Guides

Evaluate Assistant

Test how well an assistant answers by running it against a set of questions and scoring its responses. An evaluation shows, with numbers, whether a change to the assistant made it better or worse.
Open the Assistants section. If you're not sure how, see Add Assistant.

How an evaluation works#

1.
You choose one or more datasets: lists of test questions, each with the answer you expect.
2.
Ejento AI sends every question to the assistant version you pick, Staging or Production.
3.
It scores each response with the metrics you choose, for example how relevant the answer is, or how close it is to your expected answer.
4.
You see an average score per metric, and the result for each question.
To learn more about evaluations, see Assistant Evaluation. For what each metric measures, see Evaluation Metrics.

Use cases#

Check a change before deploying: Run the same dataset against Staging and Production. If Staging scores better, deploy it.
Compare models: Change the model in Staging, run the evaluation again, and compare the scores.
Watch answer quality over time: Build a dataset from real questions in the chat logs and rerun it regularly, so you notice when quality drops.

1. Open the evaluation page#

Search for your assistant, click the three dots in its Actions column, then click Evaluate.
Step 1 screenshot

2. Start a new evaluation#

If the assistant has never been evaluated, click Get Started under Start an Evaluation. Otherwise, click Start Evaluation at the top right of the Evaluations list.
The Start Evaluation window walks you through four steps: Datasets, Configuration, Metrics, and Review. The This run summary on the left shows your choices so far.
Step 2 screenshot

3. Create a dataset#

Click Add, then Create Dataset (or Upload Dataset to upload one). Enter a Dataset name and, optionally, a Description and Tags. Then add questions in either of two ways:
Select from Chat Logs: check real questions people have asked this assistant.
Add Custom Query: type a Question and the Response you expect, then click Save. The expected response is what the answer-quality metrics compare against.
Click Save & Select. The message Dataset created successfully appears and the dataset is selected.
Step 3 screenshot

4. Select the datasets#

Under Available Datasets, check the datasets to test against, then click Next. Each card shows the dataset's description and number of queries; use the pencil icon to edit a dataset or the trash icon to delete it.
Step 4 screenshot

5. Configure the run#

Enter an Evaluation name and choose the Agent version to test:
Staging: your unpublished changes. Use it to test changes before you deploy them.
Production: the live assistant people use.
The Model is the assistant's own model. Expand Advanced to see the instructions that will be tested. Click Next.
Step 5 screenshot

6. Choose the metrics#

Select the metrics to measure. They're grouped under Generation Quality (how good the answers are), Retrieval Quality (how well the assistant found the right documents), and Ethics and Safety (whether answers are harmful or biased). Each card describes its metric; use Search metrics... to find one. Click Next.
Step 6 screenshot

7. Review and start the evaluation#

Check your choices, use Edit to change any section, then click Start evaluation. The message Evaluation started! appears, and the run is listed under Evaluations with the status Running and its progress.
Step 7 screenshot

8. View the results#

When the status changes to Completed (click Refresh to update it), click the eye icon (View Result) in the run's Actions column. The Results tab shows the score for each metric; the Details tab shows the result for each question, with Filters and Export Results.
Step 8 screenshot
Previous
Add Assistant
Next
Edit Assistant