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

Struct Store

pkg/vector/pgvector/store.go:41–46  ·  view source on GitHub ↗

Store 使用 pgvector 实现的 VectorStore。

Source from the content-addressed store, hash-verified

39
40// Store 使用 pgvector 实现的 VectorStore。
41type Store struct {
42 pool *pgxpool.Pool
43 table string
44 metric string
45 dim int
46}
47
48// New 创建 PgVector 向量存储。
49func New(cfg *Config) (*Store, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected