Find answers from the community

Updated 3 months ago

I am unable to get the page label and

I am unable to get the page label and file name in for PDFs in llamaparse
W
v
d
10 comments
Did you try the JSON mode?
Is there a similar method for getting json response back (with the used document details) from query()?
I don't think so! All the used nodes can be accessed via source nodes in the response object itself.
ok, that sounds familiar. Those source nodes will contain the various metadata, document details, and segmentation (where in file) information?
Is there a reference to what the response object looks like? Does it depend on the LLM / Vector DB?
When you do .query() and get response you can check all the retrieved source nodes like this: print(response.source_nodes)
It worked for me
Add a reply
Sign up and join the conversation on Discord