semvec/pypi-packages huggingface dataset:
llm-parse 0.1.5
Parse data from documents optimised for downstream llm tasks.
License: MIT
Requires Python: <4.0,>=3.10

# LLM Parse

LLM Parse is a Python library designed for parsing and extracting data from files, specifically optimized for 
downstream tasks involving large language models (LLMs).

It is built on several popular document parsing libraries with further text processing to represent the data
in a form that is more suitable for downstream LLM tasks such as RAG, summarization and drafting.

## Getting started

Install the package:
```
pip install llm-parse
```

## Examples

Parse a PDF to Markdown.
```python
from llm_parse.pdf_2_md_parser import PDF2MDParser

parser = PDF2MDParser()
text = parser.load_data("example.pdf")
```

Parse a PDF to text.
```python
from llm_parse.pdf_2_text_parser import PDF2TextParser

parser = PDF2TextParser()
text = parser.load_data("example.pdf")
```