Find answers from the community

Updated 2 months ago

Is there any way to pass retrieved nodes

Is there any way to pass retrieved nodes to the query engine instead of the retriever. Asking this because I want to process the retrieved nodes before querying.
L
k
2 comments
If you want to process the nodes, you can use a node postprocessor πŸ™‚
https://docs.llamaindex.ai/en/stable/module_guides/querying/node_postprocessors/root.html#id2

index.as_query_engine(node_postprocessors=[DummyNodePostprocessor()])
Add a reply
Sign up and join the conversation on Discord