knowledge graph entity fixes

This commit is contained in:
Storme-bit
2026-04-27 03:41:56 -07:00
parent 1a97b19280
commit c9cbac87ac
3 changed files with 14 additions and 3 deletions

View File

@@ -83,6 +83,17 @@ const ENTITIES = {
THRESHOLD: 0.55, // Minimum confidence score for an extracted entity to be included in the results
PROMOTION_THRESHOLD: 3, // mention_count threshold before entity is considered well-established
GRAPH_HOP_DEPTH: 1, // Default traversal depth for neighborhood queries
TYPES: [
'person',
'place',
'project',
'technology',
'concept',
'organization',
'character',
'event',
'topic'
],
}
module.exports = {