Skip to main content

Why structured evaluation?

Generic “does this look good?” checks do not hold up under model and prompt churn. You need versioned datasets, explicit rubrics, and gates that fail the pipeline when quality drops. Akhara’s framework is domain-agnostic. The same layers apply to support agents, RAG systems, voice bots, and specialized verticals (including healthcare).
For CI-first workflows, pair this framework with the Akhara SDK and the CI/CD tutorial.

Framework architecture

Evaluation types

Deterministic checks, LLM judges, expert rubrics, trajectory / conversation scoring

Metrics

Pass rates, means, confidence intervals, custom and policy-weighted scores

Human review

Domain-expert grading for nuanced or high-stakes cases

Versioning & CI

Compare runs, pin configs, enforce gates before merge or deploy

Evaluation types

Creating an evaluation

create_evaluation.py
Generate a starting rubric from docs + agent outputs with adaptive rubric generation, then lock it into your suite.

Evaluation pipeline

1

Ingest samples

Load dataset samples (text, transcripts, tool traces, images)
2

Run evaluators

Apply deterministic, LLM, and/or expert evaluators
3

Route for review

Flag low-confidence or failed cases for human experts
4

Aggregate and gate

Compute metrics; fail CI when thresholds or regressions are breached

Key concepts

Asymmetric error weighting

Not all failures are equal. Weight misses that harm users or violate policy more heavily than over-cautious behavior. Configure weights per evaluator to match your risk model.

Confidence thresholds

Automated scores include confidence. Samples below your threshold route to human review so edge cases get expert attention.

Domain context

Pass domain metadata (locale, product line, acuity, customer tier) into evaluators so the same framework applies appropriate standards per case type. Healthcare-specific packs are optional extensions.

Next steps

Evaluation types

Deep dive into each evaluation type and configuration

CI/CD evaluations

Enforce gates in GitHub Actions or GitLab CI

Open-source tooling

Local suites, adaptive rubrics, dashboard source

Human review design

Design effective expert review workflows