mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-07 05:53:07 +00:00
chore: add pre-built dist folder for npx usage
This commit is contained in:
committed by
Romuald Członkowski
parent
a70d96a373
commit
5057481e70
24
dist/services/confidence-scorer.d.ts
vendored
Normal file
24
dist/services/confidence-scorer.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
export interface ConfidenceScore {
|
||||
value: number;
|
||||
reason: string;
|
||||
factors: ConfidenceFactor[];
|
||||
}
|
||||
export interface ConfidenceFactor {
|
||||
name: string;
|
||||
weight: number;
|
||||
matched: boolean;
|
||||
description: string;
|
||||
}
|
||||
export declare class ConfidenceScorer {
|
||||
static scoreResourceLocatorRecommendation(fieldName: string, nodeType: string, value: string): ConfidenceScore;
|
||||
private static readonly EXACT_FIELD_MAPPINGS;
|
||||
private static checkExactFieldMatch;
|
||||
private static readonly FIELD_PATTERNS;
|
||||
private static checkFieldPattern;
|
||||
private static checkValuePattern;
|
||||
private static readonly RESOURCE_HEAVY_NODES;
|
||||
private static checkNodeCategory;
|
||||
static getConfidenceLevel(score: number): 'high' | 'medium' | 'low' | 'very-low';
|
||||
static shouldApplyRecommendation(score: number, threshold?: 'strict' | 'normal' | 'relaxed'): boolean;
|
||||
}
|
||||
//# sourceMappingURL=confidence-scorer.d.ts.map
|
||||
Reference in New Issue
Block a user