@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) • 604 B
TypeScript
/**
* @file Faithfulness scorer
* Evaluates if the response is grounded in the provided context
*/
import type { LLMScorerConfig, ScoreResult, ScorerInput } from "../../../types/index.js";
import { BaseLLMScorer } from "./baseLLMScorer.js";
export declare class FaithfulnessScorer extends BaseLLMScorer {
constructor(config?: Partial<LLMScorerConfig>);
generatePrompt(input: ScorerInput): string;
parseResponse(response: string, _input: ScorerInput): Partial<ScoreResult>;
}
export declare function createFaithfulnessScorer(config?: Partial<LLMScorerConfig>): Promise<FaithfulnessScorer>;