Documentation
¶
Index ¶
Constants ¶
View Source
const ( BackendSQLite = internalvector.BackendSQLite BackendPgVector = internalvector.BackendPgVector BackendQdrant = internalvector.BackendQdrant BackendChroma = internalvector.BackendChroma BackendMemory = internalvector.BackendMemory BackendHNSW = internalvector.BackendHNSW )
Variables ¶
This section is empty.
Functions ¶
func NewMemoryStore ¶
func NewMemoryStore() *internalvector.MemoryStore
Types ¶
type Backend ¶
type Backend = internalvector.Backend
type Config ¶
type Config struct {
Backend Backend
DB *DBHandle
Dim int
PgVectorCreateExtension *bool
PgVectorIndexMethod string
PgVectorHNSWM int
PgVectorHNSWEfConstruction int
PgVectorIVFFlatLists int
QdrantHost string
QdrantPort int
QdrantAPIKey string
QdrantPrefix string
ChromaURL string
ChromaAPIKey string
ChromaTenant string
ChromaDatabase string
// HNSWDir is the directory for HNSW index files (BackendHNSW only).
// Defaults to <runtime_root>/data/hnsw via pkg/config helpers.
HNSWDir string
}
type DBHandle ¶
DBHandle is the public vector-facing database descriptor. It intentionally avoids leaking the engine's internal DB type while keeping enough information to reopen a compatible low-level handle when needed.
func NewDBHandle ¶
type Query ¶
type Query = internalvector.Query
type Record ¶
type Record = internalvector.Record
type SearchResult ¶
type SearchResult = internalvector.SearchResult
Click to show internal directories.
Click to hide internal directories.