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