Skip to main content

Class: AzureCosmosVCoreKVStore

Extends

Constructors

new AzureCosmosVCoreKVStore()

new AzureCosmosVCoreKVStore(__namedParameters): AzureCosmosVCoreKVStore

Create a new AzureCosmosDBNoSQLVectorStore instance.

Parameters

__namedParameters: AzureCosmosVCoreKVStoreConfig

Returns

AzureCosmosVCoreKVStore

Overrides

BaseKVStore.constructor

Defined in

packages/llamaindex/src/storage/kvStore/AzureCosmosMongovCoreKVStore.ts:30

Methods

client()

client(): MongoClient

Returns

MongoClient

Defined in

packages/llamaindex/src/storage/kvStore/AzureCosmosMongovCoreKVStore.ts:46


delete()

delete(key): Promise<boolean>

Parameters

key: string

Returns

Promise<boolean>

Overrides

BaseKVStore.delete

Defined in

packages/llamaindex/src/storage/kvStore/AzureCosmosMongovCoreKVStore.ts:83


get()

get(key): Promise<null | Record<string, any>>

Parameters

key: string

Returns

Promise<null | Record<string, any>>

Overrides

BaseKVStore.get

Defined in

packages/llamaindex/src/storage/kvStore/AzureCosmosMongovCoreKVStore.ts:67


getAll()

getAll(): Promise<Record<string, Record<string, any>>>

Returns

Promise<Record<string, Record<string, any>>>

Overrides

BaseKVStore.getAll

Defined in

packages/llamaindex/src/storage/kvStore/AzureCosmosMongovCoreKVStore.ts:73


put()

put(key, val): Promise<void>

Parameters

key: string

val: Record<string, any>

Returns

Promise<void>

Overrides

BaseKVStore.put

Defined in

packages/llamaindex/src/storage/kvStore/AzureCosmosMongovCoreKVStore.ts:59