Captain is currently in ALPHA. We are happy to get your feedback
Core API
Helpers Utils Vector Store

Module: helpers/utils/vector-store

Table of contents

Functions

Functions

initialize

initialize(): Promise<void>

Returns

Promise<void>

Defined in

src/electron/helpers/utils/vector-store.ts:21 (opens in a new tab)


populateFromDocuments

populateFromDocuments(): Promise<{}[]>

Returns

Promise<{}[]>

Defined in

src/electron/helpers/utils/vector-store.ts:45 (opens in a new tab)


reset

reset(): Promise<void>

Delete all documents from the VECTOR_STORE_COLLECTION collection.

Returns

Promise<void>

Defined in

src/electron/helpers/utils/vector-store.ts:39 (opens in a new tab)