Skip to main content

Class: abstract BaseVectorStore

Extended by

Constructors

new BaseVectorStore()

protected new BaseVectorStore(params?): BaseVectorStore

Parameters

params?: VectorStoreBaseParams

Returns

BaseVectorStore

Defined in

packages/llamaindex/src/vector-store/types.ts:100

Properties

embedModel

embedModel: BaseEmbedding

Defined in

packages/llamaindex/src/vector-store/types.ts:89


isEmbeddingQuery?

optional isEmbeddingQuery: boolean

Defined in

packages/llamaindex/src/vector-store/types.ts:91


storesText

abstract storesText: boolean

Defined in

packages/llamaindex/src/vector-store/types.ts:90

Methods

add()

abstract add(embeddingResults): Promise<string[]>

Parameters

embeddingResults: BaseNode<Metadata>[]

Returns

Promise<string[]>

Defined in

packages/llamaindex/src/vector-store/types.ts:93


client()

abstract client(): any

Returns

any

Defined in

packages/llamaindex/src/vector-store/types.ts:92


delete()

abstract delete(refDocId, deleteOptions?): Promise<void>

Parameters

refDocId: string

deleteOptions?: any

Returns

Promise<void>

Defined in

packages/llamaindex/src/vector-store/types.ts:94


query()

abstract query(query, options?): Promise<VectorStoreQueryResult>

Parameters

query: VectorStoreQuery

options?: any

Returns

Promise<VectorStoreQueryResult>

Defined in

packages/llamaindex/src/vector-store/types.ts:95