Find answers from the community

Updated 3 months ago

Why pipeline transformations not executing in order

why this dont work? transformations = []
transformations.append(TitleExtractor(nodes=5))
transformations.append(QuestionsAnsweredExtractor(questions=3))
transformations.append(Settings.embed_model)
transformations.append(splitter)
transformations.append(node_parser)

transformations = []

pipeline = IngestionPipeline(
transformations=transformations,
vector_store=vector_store,
)
nodes = pipeline.run(documents=docs), it should first parse then split then do the titleextraction etc. it dont split the doc
L
o
4 comments
It runs the transformations in order
If you want to split first, and the splitter/node parser first
Normally the order would be splitter -> extractors -> embeddings
i have a special node-parse i run it first then split then try the extractors, but the splitter dont start
Add a reply
Sign up and join the conversation on Discord