Find answers from the community

s
F
Y
a
P
Updated 2 years ago

You have to pass your own function

You have to pass your own function instead of the lambda where you can print or store somewhere all the info you need. Now i don’t have the link but @Logan M has an example!
L
1 comment
I'm not sure I follow 🤔 If you want to check every node in the index, then a list index is a good use for this.

You might also be interested in a feature Jerry was recently tweeting about: https://twitter.com/jerryjliu0/status/1642908812771471360?cxt=HHwWgMDR-Yq35MwtAAAA

https://github.com/jerryjliu/llama_index/blob/main/examples/node_postprocessor/NodePostprocessorDemo.ipynb
Add a reply
Sign up and join the conversation on Discord