@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
13 lines (12 loc) • 637 B
TypeScript
/**
* @file Hallucination detection scorer using LLM-as-judge
* Detects factual errors and unsupported claims in AI responses
*/
import type { LLMScorerConfig, ScoreResult, ScorerInput } from "../../../types/index.js";
import { BaseLLMScorer } from "./baseLLMScorer.js";
export declare class HallucinationScorer extends BaseLLMScorer {
constructor(config?: Partial<LLMScorerConfig>);
generatePrompt(input: ScorerInput): string;
parseResponse(response: string, _input: ScorerInput): Partial<ScoreResult>;
}
export declare function createHallucinationScorer(config?: Partial<LLMScorerConfig>): Promise<HallucinationScorer>;