Find answers from the community

Updated 11 months ago

Hi everyone, I have a large PDF

Hi everyone, I have a large PDF containing 20,000 pages. After receiving the prompt response, how can I identify and show the page where the information was sourced from?
T
1 comment
You can do
Plain Text
print(response.source_nodes)


This will print out the metadata which includes the page number
Add a reply
Sign up and join the conversation on Discord