google / google/adk-python-community

Feature Request: Add Milvus-backed Memory Service

オープン
#69 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
182
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

Add `MilvusMemoryService`, an implementation of `BaseMemoryService` that uses [Milvus](https://milvus.io/) 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 google/adk-python#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, with `app_name`/`user_id` scoping and deduplication.
- Users provide their own embedding function (e.g., Google GenAI `gemini-embedding-001`).
- Works with `PreloadMemoryTool` and `LoadMemoryTool` out of the box.

### Related PR

google/adk-python#4417

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。