UNPKG

@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

15 lines (14 loc) 678 B
/** * @file Implements the Auto-Evaluation Middleware for ensuring response quality. */ import type { NeuroLinkMiddleware, AutoEvaluationConfig } from "../../types/index.js"; /** * Creates the Auto-Evaluation middleware, which intercepts generation requests * to evaluate the quality of the response. If the response quality is below a * configured threshold, it can trigger retries with feedback. * * @param config - Configuration for the auto-evaluation middleware. * @returns A `NeuroLinkMiddleware` object. */ export declare function createAutoEvaluationMiddleware(config?: AutoEvaluationConfig): NeuroLinkMiddleware; export default createAutoEvaluationMiddleware;