Fix: reduce the threshold for similarity

This commit is contained in:
Harshith Mullapudi 2025-06-25 21:35:42 +05:30
parent b987a7cf3c
commit c44e14f157

View File

@ -410,7 +410,7 @@ export class KnowledgeGraphService {
const similarEntities = await findSimilarEntities({
queryEmbedding: entity.nameEmbedding,
limit: 5,
threshold: 0.85,
threshold: 0.7,
userId: episode.userId,
});
return {