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

46 lines (45 loc) 2.78 kB
// ============================================================================ // CORE FUNCTIONS // ============================================================================ // Configuration and validation export { createWorkflowConfig, DEFAULT_EXECUTION_CONFIG, DEFAULT_JUDGE_CONFIG, getAllModels, getModelGroups, usesModelGroups, WorkflowConfigSchema, } from "./config.js"; // Workflow registry export { clearRegistry, getRegistryStats, getWorkflow, listWorkflows, registerWorkflow, unregisterWorkflow, } from "./core/workflowRegistry.js"; // Workflow execution export { runWorkflow } from "./core/workflowRunner.js"; // Metrics and analytics export { calculateConfidence, calculateConsensus, calculateModelMetrics, compareWorkflows, formatMetricsForLogging, generateSummaryStats, } from "./utils/workflowMetrics.js"; export { validateForExecution, validateWorkflow, } from "./utils/workflowValidation.js"; // ============================================================================ // PRE-BUILT WORKFLOWS // ============================================================================ // Adaptive workflows export { BALANCED_ADAPTIVE_WORKFLOW, createAdaptiveWorkflow, QUALITY_MAX_WORKFLOW, SPEED_FIRST_WORKFLOW, } from "./workflows/adaptiveWorkflow.js"; // Consensus workflows export { CONSENSUS_3_FAST_WORKFLOW, CONSENSUS_3_WORKFLOW, createConsensus3WithPrompt, } from "./workflows/consensusWorkflow.js"; // Fallback workflows export { AGGRESSIVE_FALLBACK_WORKFLOW, FAST_FALLBACK_WORKFLOW, } from "./workflows/fallbackWorkflow.js"; // Multi-judge workflows export { createMultiJudgeWorkflow, MULTI_JUDGE_3_WORKFLOW, MULTI_JUDGE_5_WORKFLOW, } from "./workflows/multiJudgeWorkflow.js"; // ============================================================================ // LOW-LEVEL COMPONENTS (Advanced usage) // ============================================================================ export { executeEnsemble, executeModelGroups, } from "./core/ensembleExecutor.js"; export { scoreEnsemble } from "./core/judgeScorer.js"; export { conditionResponse, isConditioningEnabled, } from "./core/responseConditioner.js"; // ============================================================================ // TYPE EXPORTS (for advanced users) // ============================================================================ // ============================================================================ // CONSTANTS // ============================================================================ /** * Workflow Engine version */ export const WORKFLOW_ENGINE_VERSION = "1.0.0"; // Re-export from config to avoid duplication export { DEFAULT_SCORE_SCALE } from "./config.js"; /** * Testing phase flag (returns original output unchanged) */ export const IS_TESTING_PHASE = true;