vectorstore
Vector database abstraction supporting Qdrant and pgvector backends. Provides a unified interface for upserting, searching, and managing vector collections used by semantic memory.
Used by cmd/worker.
Usage
import "cruvero/internal/vectorstore"
Key Types / Interfaces
| Type | Source | Description |
|---|---|---|
VectorStore | store.go | Interface: Upsert, Search, Delete, EnsureCollection, CollectionInfo, Healthy |
Point | store.go | Vector point with ID, vector data, and arbitrary payload |
SearchResult | store.go | Search result with ID, similarity score, and payload |
Filter | store.go | Search filter (tenant, namespace, source type, time ranges) |
CollectionInfo | store.go | Collection metadata (name, point count, dimensions, status) |