{"nodes": [{"id": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "label": "semantic-memory-update-service.ts", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L1"}, {"id": "semantic_memory_update_service_generateid", "label": "generateId()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L25"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice", "label": "SemanticMemoryUpdateService", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L74"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_constructor", "label": ".constructor()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L95"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_ensurerelationtypes", "label": ".ensureRelationTypes()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L138"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_updatesemanticmemory", "label": ".updateSemanticMemory()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L194"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_validateinput", "label": ".validateInput()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L238"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_prepareupdatedata", "label": ".prepareUpdateData()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L262"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_applyupdates", "label": ".applyUpdates()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L295"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "label": ".processSingleTriple()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L362"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_notifylisteners", "label": ".notifyListeners()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L468"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_getstatistics", "label": ".getStatistics()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L499"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_tripletonaturallanguage", "label": ".tripleToNaturalLanguage()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L511"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_createsemanticmemory", "label": ".createSemanticMemory()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L530"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_normalizetripleforkg", "label": ".normalizeTripleForKg()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L601"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_updateexistingsemanticmemory", "label": ".updateExistingSemanticMemory()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L628"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_findduplicatesemanticmemory", "label": ".findDuplicateSemanticMemory()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L698"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_checksimilarity", "label": ".checkSimilarity()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L794"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_cosinesimilarity", "label": ".cosineSimilarity()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L868"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_calculateconfidence", "label": ".calculateConfidence()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L914"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_calculateimportance", "label": ".calculateImportance()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L974"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_validaterelationdirection", "label": ".validateRelationDirection()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L1007"}, {"id": "semantic_memory_update_service_semanticmemoryupdateservice_createepisodicedge", "label": ".createEpisodicEdge()", "file_type": "code", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L1068"}], "edges": [{"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "better_sqlite3", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L13", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "database_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L14", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "relation_graph_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L15", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "unified_embedding_service_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L16", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "predicate_canonicalizer_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L17", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "entity_linker_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L18", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "kg_triple_repository_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L19", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "triple_extraction_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L20", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "logger_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L21", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "semantic_memory_update_service_generateid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L25", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "semantic_memory_statistics_js", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L30", "weight": 1.0}, {"source": "src_domains_memory_services_semantic_memory_semantic_memory_update_service_ts", "target": "semantic_memory_update_service_semanticmemoryupdateservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L74", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_constructor", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L95", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_ensurerelationtypes", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L138", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_updatesemanticmemory", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L194", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_validateinput", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L238", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_prepareupdatedata", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L262", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_applyupdates", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L295", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L362", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_notifylisteners", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L468", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_getstatistics", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L499", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_tripletonaturallanguage", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L511", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_createsemanticmemory", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L530", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_normalizetripleforkg", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L601", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_updateexistingsemanticmemory", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L628", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_findduplicatesemanticmemory", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L698", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_checksimilarity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L794", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_cosinesimilarity", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L868", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_calculateconfidence", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L914", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_calculateimportance", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L974", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_validaterelationdirection", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L1007", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice", "target": "semantic_memory_update_service_semanticmemoryupdateservice_createepisodicedge", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L1068", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_constructor", "target": "semantic_memory_update_service_semanticmemoryupdateservice_ensurerelationtypes", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L129", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_updatesemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_validateinput", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L201", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_updatesemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_prepareupdatedata", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L207", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_updatesemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_applyupdates", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L210", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_updatesemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_notifylisteners", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L217", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_applyupdates", "target": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L316", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "target": "semantic_memory_update_service_semanticmemoryupdateservice_calculateconfidence", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L371", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "target": "semantic_memory_update_service_semanticmemoryupdateservice_normalizetripleforkg", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L387", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "target": "semantic_memory_update_service_semanticmemoryupdateservice_createepisodicedge", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L398", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "target": "semantic_memory_update_service_semanticmemoryupdateservice_findduplicatesemanticmemory", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L410", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "target": "semantic_memory_update_service_semanticmemoryupdateservice_updateexistingsemanticmemory", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L415", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_processsingletriple", "target": "semantic_memory_update_service_semanticmemoryupdateservice_createsemanticmemory", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L420", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_createsemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_tripletonaturallanguage", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L546", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_createsemanticmemory", "target": "semantic_memory_update_service_generateid", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L552", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_createsemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_calculateimportance", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L553", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_updateexistingsemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_calculateimportance", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L651", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_findduplicatesemanticmemory", "target": "semantic_memory_update_service_semanticmemoryupdateservice_checksimilarity", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L755", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_checksimilarity", "target": "semantic_memory_update_service_semanticmemoryupdateservice_cosinesimilarity", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L853", "weight": 1.0}, {"source": "semantic_memory_update_service_semanticmemoryupdateservice_createepisodicedge", "target": "semantic_memory_update_service_semanticmemoryupdateservice_validaterelationdirection", "relation": "calls", "confidence": "EXTRACTED", "source_file": "src/domains/memory/services/semantic-memory/semantic-memory-update-service.ts", "source_location": "L1077", "weight": 1.0}]}