Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Fix: Gemini embedder config and version bump -> 0.1.113 (#3070)

Dev Khant5a1083b709ed
diff --git a/mem0/configs/embeddings/base.py b/mem0/configs/embeddings/base.py
index de8a19b91..a5a174b7b 100644
--- a/mem0/configs/embeddings/base.py
+++ b/mem0/configs/embeddings/base.py
@@ -31,6 +31,8 @@ class BaseEmbedderConfig(ABC):
memory_add_embedding_type: Optional[str] = None,
memory_update_embedding_type: Optional[str] = None,
memory_search_embedding_type: Optional[str] = None,
+ # Gemini specific
+ output_dimensionality: Optional[str] = None,
# LM Studio specific
lmstudio_base_url: Optional[str] = "http://localhost:1234/v1",
# AWS Bedrock specific
@@ -94,6 +96,9 @@ class BaseEmbedderConfig(ABC):
self.memory_update_embedding_type = memory_update_embedding_type
self.memory_search_embedding_type = memory_search_embedding_type
+ # Gemini specific
+ self.output_dimensionality = output_dimensionality
+
# LM Studio specific
self.lmstudio_base_url = lmstudio_base_url
diff --git a/pyproject.toml b/pyproject.toml
index cdc388926..7de3650f6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "mem0ai"
-version = "0.1.112"
+version = "0.1.113"
description = "Long-term memory for AI Agents"
authors = [
{ name = "Mem0", email = "[email protected]" }