Vector Store
Example Code: examples/knowledge/vectorstores
Vector store is the core component of the Knowledge system, responsible for storing and retrieving vector representations of documents.
Supported Vector Stores
trpc-agent-go supports multiple vector store implementations:
| Vector Store | Description |
|---|---|
| Memory | In-memory vector store |
| PGVector | PostgreSQL + pgvector extension |
| TcVector | Tencent Cloud vector database |
| Elasticsearch | Supports v7/v8/v9 versions |
| Qdrant | High-performance vector database |
| Milvus | High-performance vector database |
Filter Support
All vector stores support filter functionality, including ID filtering, metadata filtering, and complex condition filtering (FilterCondition).