Anil Vishnoi ac3518c34c Add python, markdown and github action linter (#5)
to ensure the code maintenance. Thanks to docling
project- took some good bits around python linting
from the project.

These checks are also added in the markdown, so that
user can run these checks locally to recreate the
errors.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2024-09-13 14:26:32 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00
2024-09-06 22:05:58 +02:00

Docling Serve

Running Docling as an API service.

Note

This is an unstable draft implementation which will quickly evolve.

Development

Install the dependencies

# Install dependencies
poetry install

# Run the server
poetry run uvicorn docling_serve.app:app --reload

Example payload (http source):

curl -X 'POST' \
  'http://127.0.0.1:8000/convert' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "http_source": {
    "url": "https://arxiv.org/pdf/2206.01062"
  }
}'
Description
No description provided
Readme MIT 22 MiB
Languages
Python 93.2%
Makefile 5.1%
Dockerfile 1.7%