跳转到内容

IngestionCache

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:49

new IngestionCache(collection?): IngestionCache

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:54

string

IngestionCache

集合: string = "llama_cache"

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:50


缓存: BaseKVStore

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:51


节点键: string = "nodes"

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:52

放置(hash, nodes): Promise<void>

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:61

string

BaseNode<Metadata>[]

Promise<void>


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

定义于:.build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:68

string

Promise<undefined | BaseNode<Metadata>[]>