@verdict-ai/core
v0.4.0
Published
Verdict evaluation engine: rubrics, ingestion, judges (LLM / human / benchmark), aggregation.
Maintainers
Readme
@verdict-ai/core
The embeddable evaluation engine: ingestion, rubric validation, judges and aggregation.
npm install @verdict-ai/coreimport { Engine, MemoryStore } from "@verdict-ai/core";
const engine = new Engine({ store: new MemoryStore() });
const evaluation = await engine.evaluate({
rubric: { name: "Presence", criteria: [{ id: "present", name: "Has text",
judge: { type: "benchmark", method: "length", min: 1 } }] },
subject: { inputs: [{ type: "text", text: "Hello Verdict" }] },
});
console.log(evaluation.id);
console.log(evaluation.status);
console.log(evaluation.aggregate.score);Requires Node 22 or newer. Documentation. MIT licensed.
