Open Source

Document preparation

llm-food

OPEN SOURCE

Turn documents into text that AI workflows can use.

llm-food converts supported documents and web pages into Markdown as a foundation for search, review, and model-input preparation. It is available through a FastAPI service, Python client, and command-line interface. Processing depends on the file format and selected backend; some PDF paths send data to Google Cloud and Gemini.

01 / INPUT TO OUTPUT
01 / Input

A PDF manual, DOCX procedure, slide deck, or HTML page.

02 / Process

Submit the file or page to the service and process it with the configured text extractor or PDF backend.

03 / Output

Markdown text organized by page or section for search, review, or another language-model workflow.

02 / WHAT IT DOES
01

Convert common document formats

Convert PDF, DOC/DOCX, RTF, PPTX, and HTML or webpage content into Markdown.

02

Choose a PDF processing path

Single-file PDF conversion uses configured backends. Batch PDF processing runs through Gemini Batch API and Google Cloud Storage.

03

Connect document preparation to a workflow

Call the service through its API, Python client, or CLI and pass the resulting Markdown to downstream tools.

03 / WORK WITH ALTAI

From a component
to your application.

ALTAI uses llm-food to build conversion workflows that prepare an organization's documents for search and review applications. We select a processing path for the file formats, specify the services and data path, and connect the outputs to the application.

Explore custom development

WORK WITH ALTAI

Have a task for this?

Tell us what the system needs to do, what data is available, and where it should run.

Discuss this project