Class: IngestionPipeline
Constructors
new IngestionPipeline()
new IngestionPipeline(
init
?):IngestionPipeline
Parameters
• init?: Partial
<IngestionPipeline
>
Returns
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:75
Properties
cache?
optional
cache:IngestionCache
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:70
disableCache
disableCache:
boolean
=false
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:71
docStore?
optional
docStore:BaseDocumentStore
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:68
docStoreStrategy
docStoreStrategy:
DocStoreStrategy
=DocStoreStrategy.UPSERTS
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:69
documents?
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:64
reader?
optional
reader:BaseReader
<Document
<Metadata
>>
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:65
transformations
transformations:
TransformComponent
[] =[]
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:63
vectorStore?
optional
vectorStore:BaseVectorStore
<unknown
>
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:66
vectorStores?
optional
vectorStores:VectorStoreByType
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:67
Methods
prepareInput()
prepareInput(
documents
?,nodes
?):Promise
<BaseNode
<Metadata
>[]>
Parameters
• documents?: Document
<Metadata
>[]
• nodes?: BaseNode
<Metadata
>[]
Returns
Defined in
packages/llamaindex/src/ingestion/IngestionPipeline.ts:95
run()
Parameters
• args: any
= {}
• transformOptions?: any