Replies: 5 comments 2 replies
-
|
Hi @xintongsong! This is a high-level design proposal to add vector store support to Flink Agents, enabling RAG capabilities. The design follows our existing ChatModel resource provider pattern and introduces event-driven vector search integration. Can you take a look and share your thoughts? Hi @coderplay! The proposal focuses on semantic search capabilities that might be related for future long-term memory features. Please also take a look. thanks. |
Beta Was this translation helpful? Give feedback.
-
|
@alnzng For the high level design, I just have a few comments.
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you for reviewing this design proposal @xintongsong! Yes, let's discuss implementation details (e.g., attribute/parameter naming) during the code review process. Regarding your comments:
Let me update the doc by adding this |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for addressing my comments. The updates look good to me. There's no more questions from my side. |
Beta Was this translation helpful? Give feedback.
-
|
@alnzng |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Vector stores and embedding models together enable agents to perform semantic search and knowledge retrieval over large document collections. This powerful combination unlocks new agent patterns including RAG (Retrieval-Augmented Generation) where agents search relevant documents before generating responses, knowledge base agents that answer questions from company documentation, and context-aware conversations that maintain relevant context across long interactions. These capabilities will also serve as a foundation for future long-term memory features.
We propose adding Vector Store and Embedding Model as new resource types following the same architectural pattern as ChatModel, with multiple built-in implementations to support different use cases and deployment preferences.
Design Overview
APIs
Base Classes
Event Types
New event types for vector operations:
RAG Agent Example
Beta Was this translation helpful? Give feedback.
All reactions