rag-memory-epf-mcp 3.1.3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1803,7 +1803,7 @@ class RAGKnowledgeGraphManager {
|
|
|
1803
1803
|
const similarEntities = Array.from(entityMap.values()).sort((a, b) => a.distance - b.distance);
|
|
1804
1804
|
for (const entity of similarEntities) {
|
|
1805
1805
|
const similarity = Math.max(0, 1 - entity.distance / 2);
|
|
1806
|
-
if (similarity > 0.
|
|
1806
|
+
if (similarity > 0.4) {
|
|
1807
1807
|
queryMatchedEntities.add(entity.name);
|
|
1808
1808
|
// Get connected entities via relationships
|
|
1809
1809
|
const connected = this.db.prepare(`
|