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

23 lines (22 loc) 928 B
import type { EnhancedEvaluationContext, GetPromptFunction } from "../types/index.js"; /** * A flexible class for building evaluation prompts. It allows for custom prompt * generation logic to be injected while ensuring a consistent output format. */ export declare class PromptBuilder { /** * Builds the final evaluation prompt. * * @param context The rich context for the evaluation. * @param getPrompt An optional function to generate the main body of the prompt. * If not provided, a default prompt is used. * @returns The complete prompt string to be sent to the judge LLM. */ buildEvaluationPrompt(context: EnhancedEvaluationContext, getPrompt?: GetPromptFunction): string; /** * The default prompt generation logic. * @param context The prepared context strings. * @returns The default prompt body. */ private getDefaultPrompt; }