Find answers from the community

Updated 4 months ago

Json

At a glance

A community member is using LlamaParse and wants to be able to get the page number for each text chunk stored in the database. They saw that the page number is available in the JSON object when using the web sandbox, and they want to know if this is possible with the library. Another community member responds that the page number can be obtained by using the raw API or the parser.get_json_result() method.

Useful resources
Hey gang! I've been using LlamaParse for the past couple weeks, loving it so far

I want to be able to get the page# for each of the text chunks I store in the db for later reference. I saw we have that in the JSON object when I do it through the web sandbox, is it possible with the library? If not, is it planned to be launched?
L
E
2 comments
Yea, you can use the raw api (docs here: https://docs.cloud.llamaindex.ai/category/API/parsing) or use parser.get_json_result(...)
Perfect, thanks Logan
Add a reply
Sign up and join the conversation on Discord