vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
34 lines • 1.07 kB
TypeScript
import { Intent, Entity } from '../types/nl.js';
export interface SemanticMatchConfig {
minConfidence: number;
useContext: boolean;
useSynonyms: boolean;
useEntityRelations: boolean;
}
export interface SemanticMatch {
intent: Intent;
confidence: number;
semanticScore: number;
contextScore: number;
entityScore: number;
reasoning: string[];
}
export declare class SemanticIntentMatcher {
private config;
private synonymMap;
private intentKeywords;
private entityPatterns;
constructor(config?: Partial<SemanticMatchConfig>);
matchIntent(text: string, context?: Record<string, unknown>, existingEntities?: Entity[]): Promise<SemanticMatch[]>;
private analyzeIntentMatch;
private calculateSemanticScore;
private calculateContextScore;
private calculateEntityScore;
private combineScores;
private initializeMaps;
private getSupportedIntents;
private getRelevantEntities;
private isRelatedIntent;
private normalizeText;
}
//# sourceMappingURL=semantic-intent-matcher.d.ts.map