Find answers from the community

Updated 12 months ago

Llamaparse

At a glance

The post asks when the llamaparse library will be available for JavaScript/TypeScript. Community members discuss using an API to make network requests and send parsing instructions through the API. They mention that the documentation is limited, but a community member provides an example of how to include parsing instructions in API requests. The community members also discuss the availability of parsed data on the llamacloud server, with one member stating that the data is available for at least 2 days.

Useful resources
When is llamaparse coming to js/ts??
L
S
9 comments
There is an API you can use to make network requests πŸ‘€
I could not find docs related to parsing documents with instructions. Is there way to parse documents with custom instruction through the use of API requests?
I also noticed that even while using default create-llama with py-fastAPI and llama-parse enabled, it is hitting the api for parsing. Since there we can put custom instruction so I am very much eager to know if I can do that using raw requests on my own.
Fair, better docs coming soon!

Check out the python request code here for how to include it in your own api requests
https://github.com/run-llama/llama_parse/blob/ba8f345f807e823746a420b8985ef36d18deeef6/llama_parse/base.py#L201
Thank you very much for this. Now I can implement it in any language. The problem I was facing was to send parsing instruction through API which was not mentioned in docs but now with this example it is very clear.
When I post files to llama cloud to parse, I have to check its status with a API request and later hit new API request to fetch the parsed data.
May I know for how long will the parsed data will be available in the llamacloud server to fetch for us?
Should be 2 days
Thank you. As you seem unsure I will re-validate this tomorrow.
A quick update. It's been more than 2 days that I send the parsing request and the data is still availabe in the llamacloud server. It's great for us.
Add a reply
Sign up and join the conversation on Discord