run-llama / llama_parse

Parse files for optimal RAG
https://www.llamaindex.ai
MIT License
1.81k stars 160 forks source link

table #169

Closed Garvit4093 closed 1 month ago

Garvit4093 commented 2 months ago

parse tables in form of tables and not text

guillaume-millot commented 2 months ago

LlamaParse can output tables in json format: https://github.com/dataforgoodfr/12_taxobservatory/blob/6f48852ae338f719d2a450cd417fdcd564ae0de1/country_by_country/table_extraction/llama_parse_extractor.py#L52-L69

logan-markewich commented 1 month ago

@guillaume-millot is right JSON (or even markdown) mode is what you'd want

https://github.com/run-llama/llama_parse/blob/main/examples/demo_json_parsing.ipynb