Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix(vector_store): use v.tolist() for numpy array serialization
Sunil3357c14ee31e
diff --git a/semantica/vector_store/vector_store.py b/semantica/vector_store/vector_store.pyindex c1f9b53e..7a127afb 100644--- a/semantica/vector_store/vector_store.py+++ b/semantica/vector_store/vector_store.py@@ -590,8 +590,8 @@ class VectorStore:# pickle is intentionally avoided to prevent arbitrary code execution# if a malicious .pkl file is placed in the store directory.data = {- "vectors": {k: v.tolist() if hasattr(v, "tolist") else v- for k, v in getattr(self, "vectors", {}).items()},+ "vectors": {k: v.tolist() if hasattr(v, "tolist") else list(v)+ for k, v in getattr(self, "vectors", {}).items()},"metadata": getattr(self, "metadata", {}),"config": self.config,"backend": self.backend,