Skip to content

IngestionCache

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:49

new IngestionCache(collection?): IngestionCache

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:54

string

IngestionCache

collection: string = "llama_cache"

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:50


cache: BaseKVStore

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:51


nodesKey: string = "nodes"

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:52

put(hash, nodes): Promise<void>

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:61

string

BaseNode<Metadata>[]

Promise<void>


get(hash): Promise<undefined | BaseNode<Metadata>[]>

Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:68

string

Promise<undefined | BaseNode<Metadata>[]>