An open API service indexing awesome lists of open source software.

https://github.com/patw/docinator

A small service to convert PDF files to Markdown using the Docling library
https://github.com/patw/docinator

docling fastapi llm

Last synced: about 2 months ago
JSON representation

A small service to convert PDF files to Markdown using the Docling library

Awesome Lists containing this project

README

          

# Docinator

Provides an API to input PDF files and convert to Markdown text, with some summarization options. This is useful for chunking PDF for RAG chatbots.

## Local Installation

```
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```

Copy the model.json.sample to model.json. In here you can modify the BaseURL to work with any OAI compatible service or use your own local models.

## Running Docinator API

```
uvicorn main:app --host 0.0.0.0 --port 3009 --reload
```

## Accessing API

http://localhost:3009/docs