UNPKG

vibe-tools

Version:
11 lines (10 loc) 399 B
/** * Calculate string similarity score between 0 and 1 * 1 means strings are identical, 0 means completely different */ export declare function stringSimilarity(str1: string, str2: string): number; /** * Find similar models from a list of available models * Returns top 5 most similar models */ export declare function getSimilarModels(model: string, availableModels: Set<string>): string[];