IngestionCache
Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:49
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new IngestionCache(
collection?
):IngestionCache
Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:54
Parameters
Section titled “Parameters”collection?
Section titled “collection?”string
Returns
Section titled “Returns”IngestionCache
Properties
Section titled “Properties”collection
Section titled “collection”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
Section titled “nodesKey”nodesKey:
string
="nodes"
Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:52
Methods
Section titled “Methods”put(
hash
,nodes
):Promise
<void
>
Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:61
Parameters
Section titled “Parameters”string
BaseNode
<Metadata
>[]
Returns
Section titled “Returns”Promise
<void
>
get(
hash
):Promise
<undefined
|BaseNode
<Metadata
>[]>
Defined in: .build/typescript/packages/llamaindex/src/ingestion/IngestionCache.ts:68
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise
<undefined
| BaseNode
<Metadata
>[]>