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

52 lines (51 loc) 1.52 kB
/** * Task Classification Configuration * Contains patterns, keywords, and scoring weights for task classification */ /** * Regular expression patterns that indicate fast response tasks */ export declare const FAST_PATTERNS: RegExp[]; /** * Regular expression patterns that indicate reasoning tasks */ export declare const REASONING_PATTERNS: RegExp[]; /** * Keywords that indicate fast tasks regardless of context */ export declare const FAST_KEYWORDS: string[]; /** * Keywords that indicate reasoning tasks regardless of context */ export declare const REASONING_KEYWORDS: string[]; /** * Scoring weights for different classification factors */ export declare const SCORING_WEIGHTS: { readonly SHORT_PROMPT_BONUS: 2; readonly LONG_PROMPT_BONUS: 1; readonly PATTERN_MATCH_SCORE: 3; readonly KEYWORD_MATCH_SCORE: 1; readonly MULTIPLE_QUESTIONS_BONUS: 1; readonly MULTI_SENTENCE_BONUS: 1; readonly TECHNICAL_DOMAIN_BONUS: 1; readonly SIMPLE_DEFINITION_BONUS: 2; }; /** * Classification thresholds and constraints */ export declare const CLASSIFICATION_THRESHOLDS: { readonly SHORT_PROMPT_LENGTH: 50; readonly LONG_PROMPT_LENGTH: 200; readonly SIMPLE_DEFINITION_LENGTH: 100; readonly MIN_CONFIDENCE: 0.6; readonly MAX_CONFIDENCE: 0.95; readonly DEFAULT_CONFIDENCE: 0.5; }; /** * Domain-specific patterns for enhanced classification */ export declare const DOMAIN_PATTERNS: { readonly TECHNICAL: RegExp; readonly SIMPLE_DEFINITION: RegExp; };