BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.
Python ai-agentsai-memoryknowledge-graphknowledge-managementknowledge-representationreccomendation-system
fix(ingestion): node uuid assignment
Christian5ee96623b58e
diff --git a/src/core/saving/auto_kg.py b/src/core/saving/auto_kg.pyindex f8d578d..f641ca8 100644--- a/src/core/saving/auto_kg.py+++ b/src/core/saving/auto_kg.py@@ -41,7 +41,6 @@ class IngestionManager:def process_node_vectors(self, node_data: ScoutEntity, brain_id):if node_data.name in self.resolved_cache:- node_data.uuid = self.resolved_cache[node_data.name]return node_data.uuidv_sub = self.embeddings.embed_text(node_data.name)@@ -67,7 +66,6 @@ class IngestionManager:def process_rel_vectors(self, rel_data: ArchitectAgentRelationship, brain_id):if hasattr(rel_data, "description") and rel_data.description:v_rel = self.embeddings.embed_text(rel_data.description)- v_rel.id = rel_data.uuidv_rel.metadata = {**(self.metadata or {}),"uuid": rel_data.uuid,