Skip to main content

Class: IngestionPipeline

Constructors

new IngestionPipeline()

new IngestionPipeline(init?): IngestionPipeline

Parameters

init?: Partial<IngestionPipeline>

Returns

IngestionPipeline

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:74

Properties

cache?

optional cache: IngestionCache

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:69


disableCache

disableCache: boolean = false

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:70


docStore?

optional docStore: BaseDocumentStore

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:67


docStoreStrategy

docStoreStrategy: DocStoreStrategy = DocStoreStrategy.UPSERTS

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:68


documents?

optional documents: Document<Metadata>[]

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:63


reader?

optional reader: BaseReader

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:64


transformations

transformations: TransformComponent[] = []

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:62


vectorStore?

optional vectorStore: BaseVectorStore

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:65


vectorStores?

optional vectorStores: VectorStoreByType

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:66

Methods

prepareInput()

prepareInput(documents?, nodes?): Promise<BaseNode<Metadata>[]>

Parameters

documents?: Document<Metadata>[]

nodes?: BaseNode<Metadata>[]

Returns

Promise<BaseNode<Metadata>[]>

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:94


run()

run(args, transformOptions?): Promise<BaseNode<Metadata>[]>

Parameters

args: any = {}

transformOptions?: any

Returns

Promise<BaseNode<Metadata>[]>

Defined in

packages/llamaindex/src/ingestion/IngestionPipeline.ts:115