Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/evals / / memoryQaHallucination
Function: memoryQaHallucination()
ts
function memoryQaHallucination(options): Scorer<MemoryOperationsEvalInput, MemoryOperationsObservation>;Defined in: packages/evals/src/scorers/memory/qa.ts:41
Build the QA hallucination judge. Score maxScore = fully grounded (or a correct abstention); score 0 = fabricated memory content.
Parameters
| Parameter | Type |
|---|---|
options | MemoryQaHallucinationOptions |
Returns
Scorer<MemoryOperationsEvalInput, MemoryOperationsObservation>