The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
Update vectordb.mdx (#1670)
krescente570888437a8
diff --git a/docs/components/vectordb.mdx b/docs/components/vectordb.mdxindex f7aa6ded9..5d5fede3e 100644--- a/docs/components/vectordb.mdx+++ b/docs/components/vectordb.mdx@@ -62,3 +62,14 @@ config = {m = Memory.from_config(config)m.add("Likes to play cricket on weekends", user_id="alice", metadata={"category": "hobbies"})```++## Common issues++### Using model with different dimensions++If you are using customized model, which is having different dimensions other than 1536+for example 768, you may encounter below error:++`ValueError: shapes (0,1536) and (768,) not aligned: 1536 (dim 1) != 768 (dim 0)`++you could add `"embedding_model_dims": 768,` to the config of the vector_store to overcome this issue.