-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc
Description
Description
Add MilvusMemoryService, an implementation of BaseMemoryService that uses Milvus as the vector store for cross-session conversation memory.
Motivation
ADK's existing memory services (InMemoryMemoryService, VertexAiMemoryBankService, VertexAiRagMemoryService) either lack semantic search or require GCP infrastructure. Milvus provides a lightweight, open-source alternative that supports local (Milvus Lite), self-hosted, and fully managed (Zilliz Cloud) deployments.
This complements the MilvusToolset (PR #4417) which handles RAG knowledge base search, by adding a separate memory persistence layer for conversation history.
Proposed Solution
MilvusMemoryService(BaseMemoryService): stores session events as vector-embedded text in Milvus, withapp_name/user_idscoping and deduplication.- Users provide their own embedding function (e.g., Google GenAI
gemini-embedding-001). - Works with
PreloadMemoryToolandLoadMemoryToolout of the box.
Related PR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc