Skip to main content

Overview

This guide walks you through creating a complete evaluation from scratch:
  1. Create a dataset to hold your test cases
  2. Add sample data (transcripts, decisions)
  3. Select evaluators to run
  4. Execute the evaluation
  5. View and interpret results
Estimated time: 10-15 minutes

Step 1: Create a Dataset

Datasets are collections of samples that you evaluate together. Think of them as your test sets.

Step 2: Add Samples

Samples are individual test cases with inputs, AI outputs, and expected results.

Sample Structure

Each sample contains:

Add Samples via SDK

Batch Upload

For larger datasets, use batch upload:

Upload from File

Step 3: Select Evaluators

Evaluators are the scoring functions that assess your AI’s performance.

Available Evaluators

Compares predicted triage level against expected.Output metrics:
  • accuracy: Overall accuracy percentage
  • under_triage_rate: Rate of dangerous under-classification
  • over_triage_rate: Rate of over-classification
  • confusion_matrix: Full breakdown by class
Configuration:
Checks if critical symptoms were identified.Output metrics:
  • recall: Percentage of red flags caught
  • precision: Accuracy of red flag calls
  • f1: Balanced score
  • missed_flags: List of missed critical symptoms
Configuration:
Measures adherence to clinical protocols.Output metrics:
  • compliance_score: Overall compliance percentage
  • steps_followed: Number of protocol steps followed
  • deviations: List of protocol deviations
Configuration:
Evaluates symptom identification accuracy.Output metrics:
  • entity_f1: F1 score for entity extraction
  • precision: Extraction precision
  • recall: Extraction recall
  • false_positives: Incorrectly identified symptoms
Configuration:

Step 4: Run the Evaluation

Now let’s execute the evaluation:

Monitor Progress

Step 5: View Results

Summary Metrics

Example output:

Per-Sample Results

View in Dashboard

  1. Navigate to your project in app.akhara.ai
  2. Click Evaluations in the sidebar
  3. Click on your evaluation
  4. Explore:
    • Summary: Overall metrics and trends
    • Samples: Per-sample breakdown with filtering
    • Issues: Failed samples grouped by error type
    • Compare: Side-by-side with previous evaluations

Next Steps

Core Concepts

Understand Akhara’s data model

Evaluation Lifecycle

Learn about evaluation states and triggers

Human Review

Route flagged samples to clinicians

API Reference

Full API documentation