Skip to main content

Interface: VectorStore

Implemented by

Properties

isEmbeddingQuery

Optional isEmbeddingQuery: boolean

Defined in

storage/vectorStore/types.ts:62


storesText

storesText: boolean

Defined in

storage/vectorStore/types.ts:61

Methods

add

add(embeddingResults): Promise<string[]>

Parameters

NameType
embeddingResultsBaseNode[]

Returns

Promise<string[]>

Defined in

storage/vectorStore/types.ts:64


client

client(): any

Returns

any

Defined in

storage/vectorStore/types.ts:63


delete

delete(refDocId, deleteKwargs?): Promise<void>

Parameters

NameType
refDocIdstring
deleteKwargs?any

Returns

Promise<void>

Defined in

storage/vectorStore/types.ts:65


persist

persist(persistPath, fs?): Promise<void>

Parameters

NameType
persistPathstring
fs?GenericFileSystem

Returns

Promise<void>

Defined in

storage/vectorStore/types.ts:67


query

query(query, kwargs?): Promise<VectorStoreQueryResult>

Parameters

NameType
queryVectorStoreQuery
kwargs?any

Returns

Promise<VectorStoreQueryResult>

Defined in

storage/vectorStore/types.ts:66