MCPcopy Create free account
hub / github.com/astercloud/aster / Upsert

Method Upsert

pkg/vector/store.go:37–37  ·  view source on GitHub ↗
(ctx context.Context, docs []Document)

Source from the content-addressed store, hash-verified

35// 核心运行时只依赖该接口,不关心具体实现(pgvector/Qdrant/内存等)。
36type VectorStore interface {
37 Upsert(ctx context.Context, docs []Document) error
38 Delete(ctx context.Context, ids []string) error
39 Query(ctx context.Context, q Query) ([]Hit, error)
40 Close() error

Callers 5

indexInternalMethod · 0.65
AddMethod · 0.65
UpdateMethod · 0.65
IngestMethod · 0.65
UpsertTextMethod · 0.65

Implementers 3

MemoryStorepkg/vector/memory_store.go
Storepkg/vector/pgvector/store.go
Storepkg/vector/weaviate/store.go

Calls

no outgoing calls

Tested by

no test coverage detected