MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / createVectorStore

Function createVectorStore

vector/index.js:139–143  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

137}
138
139export async function createVectorStore(options = {}) {
140 const store = new VectorStore(options);
141 await store.ready;
142 return store;
143}
144
145registerBackend('memory', (options) => new MemoryBackend(options));
146registerBackend('indexeddb', (options) => new IndexedDBBackend(options));

Callers 3

benchBackendFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected