Commit Graph

58 Commits

Author SHA1 Message Date
github-actions[bot]
03e405638f chore: bump version to 0.6.0 [skip ci] v0.6.0 2025-03-17 12:43:23 +00:00
Michele Dolfi
fd8e40a008 docs: simplify README and move details to docs (#102)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-17 13:40:12 +01:00
Michele Dolfi
422c402bab fix: allow changes in CORS settings (#100)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-17 09:49:17 +01:00
Michele Dolfi
ea090288d3 fix: avoid exploding options cache using lru and expose size parameter (#101)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-17 08:52:29 +01:00
Michele Dolfi
07c48edd5d fix: increase timeout_keep_alive and allow parameter changes (#98)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-16 09:03:40 +01:00
Michele Dolfi
a212547d28 fix: add warning when using incompatible parameters (#99)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-16 09:03:22 +01:00
Michele Dolfi
c76daac70c fix(ui): use --port parameter and avoid failing when image is not found (#97)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-16 09:02:53 +01:00
Michele Dolfi
7994b19b9f chore: move to docling-project gh org (#95)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-14 14:04:31 +01:00
Tiago Santana
ec57b528ed feat: expose options for new features (#92)
Signed-off-by: Tiago Santana <54704492+SantanaTiago@users.noreply.github.com>
2025-03-13 17:09:59 +01:00
github-actions[bot]
b92c5d8899 chore: bump version to 0.5.1 [skip ci] v0.5.1 2025-03-10 17:31:51 +00:00
Eugene
3c9825df30 ci: Speed up python linting (#64)
Signed-off-by: Eugene <fogaprod@gmail.com>
2025-03-10 18:05:33 +01:00
Michele Dolfi
8dd0e216fd chore: extend timeout for downloading the model artifacts (#90)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-10 16:58:10 +01:00
Michele Dolfi
d406802f9d chore: update uv.lock with new release version (#89)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-10 16:57:48 +01:00
Michele Dolfi
a92ad48b28 fix: submodules in wheels (#85)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-10 16:19:34 +01:00
Eugene
da2b26099d chore: Remove unused OS deps (#80)
Signed-off-by: Eugene <fogaprod@gmail.com>
2025-03-10 08:53:25 +01:00
github-actions[bot]
98b46eda50 chore: bump version to 0.5.0 [skip ci] v0.5.0 2025-03-07 17:24:16 +00:00
Michele Dolfi
7e75919ae8 chore: Remove deprecated type aliases and run as pre-commit (#79)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-07 15:46:52 +01:00
Eugene
c95db36438 fix: Remove uv from image, merge ARG and ENV declarations (#57)
Signed-off-by: Eugene <fogaprod@gmail.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-07 15:33:21 +01:00
Michele Dolfi
82f8900197 feat: Async api (#60)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-07 11:26:50 +01:00
Eugene
ed851c95fe feat: display version in fastapi docs (#78)
Signed-off-by: Eugene <fogaprod@gmail.com>
2025-03-07 09:28:05 +01:00
Steffen Röcker
05df0735d3 fix(docs): Remove comma in convert/source curl example (#73)
Signed-off-by: Steffen Röcker <sroecker@redhat.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
2025-03-06 08:12:09 +01:00
github-actions[bot]
cad1053e36 chore: bump version to 0.4.0 [skip ci] v0.4.0 2025-02-26 13:05:03 +00:00
Michele Dolfi
7e6d9cdef3 feat: New container images (#68)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-26 12:49:20 +01:00
Brent Salisbury
343b985287 Readme additions for running
Readme additions for a quickstart running of docling-serve

Signed-off-by: Brent Salisbury <bsalisbu@redhat.com>
2025-02-25 14:49:50 -08:00
Kasper Dinkla
c430d9b1a1 feat: Render DoclingDocument with npm docling-components in the example UI (#65)
Signed-off-by: DKL <dkl@zurich.ibm.com>
2025-02-25 11:27:42 +01:00
Anil Vishnoi
63141f1cc7 ci: Use release event to trigger the image publishing job for releases (#63)
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2025-02-24 08:21:17 +01:00
Eugene
d5557fad9f refactor: Use bytes as options key (#58)
Signed-off-by: Eugene <fogaprod@gmail.com>
v0.3.0
2025-02-21 18:03:27 +01:00
İlker SIĞIRCI
36967f7f61 chore(config): replace black,isort,flake and autoflake with ruff (#55)
Signed-off-by: ilker.sigirci <ilker.sigirci@data-boss.com.tr>
Signed-off-by: ilkersigirci <sigirci.ilker@mgail.com>
Co-authored-by: ilker.sigirci <ilker.sigirci@data-boss.com.tr>
2025-02-20 13:29:41 +01:00
github-actions[bot]
3b54d9b6ef chore: bump version to 0.3.0 [skip ci] 2025-02-19 21:22:27 +00:00
Michele Dolfi
4877248368 fix: set DOCLING_SERVE_ARTIFACTS_PATH in images (#53)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-19 22:03:56 +01:00
Michele Dolfi
ec33a61faa feat: Add new docling-serve cli (#50)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-19 20:54:13 +01:00
Eugene
663e03303a chore: use uv in start_server.sh and update docs (#49)
Signed-off-by: Eugene <fogaprod@gmail.com>
2025-02-19 19:25:00 +01:00
Guillaume Moutier
c64a450bf9 fix: Set root UI path when behind proxy (#38)
Signed-off-by: Guillaume Moutier <3944034+guimou@users.noreply.github.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Guillaume Moutier <3944034+guimou@users.noreply.github.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-19 10:32:43 +01:00
Michele Dolfi
ae3b4906f1 fix: support python 3.13 and docling updates and switch to uv (#48)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-19 09:53:07 +01:00
Michele Dolfi
7a351fcdea fix missing secrets inherit
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-13 17:02:01 +00:00
Michele Dolfi
1615f977a2 ci: add semantic release and build/publish python wheel (#41)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-02-13 16:49:43 +01:00
Guillaume Moutier
1bf487b18e Fix main when workers > 1 (#35)
Always load the app by using an import string

Signed-off-by: Guillaume Moutier <3944034+guimou@users.noreply.github.com>
Co-authored-by: Guillaume Moutier <3944034+guimou@users.noreply.github.com>
2025-02-12 09:54:49 +01:00
Michele Dolfi
be7e4162af fix: UVICORN_WORKERS propagation in start_server (#40)
Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
v0.2.0
2025-02-12 07:13:01 +01:00
archas
de42baf8dc chore(makefile): add docker run targets (#32)
* chore(makefile): add docker run targets

Signed-off-by: archasek <2247211+archasek@users.noreply.github.com>

* chore(makefile): modify run tasks

Signed-off-by: archasek <2247211+archasek@users.noreply.github.com>

* chore(makefile): modify run tasks

Signed-off-by: archasek <2247211+archasek@users.noreply.github.com>

---------

Signed-off-by: archasek <2247211+archasek@users.noreply.github.com>
2025-02-11 09:52:07 +01:00
archas
4da28565a7 docs: correct multipart/form-data curl example (#33)
Signed-off-by: archasek <2247211+archasek@users.noreply.github.com>
2025-02-10 17:30:16 +01:00
Michele Dolfi
2a78142b96 bump version
Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
2025-02-03 16:12:25 +01:00
imgbot[bot]
d0e8578931 [ImgBot] Optimize images (#27)
*Total -- 283.36kb -> 212.03kb (25.17%)

/img/swagger.png -- 32.70kb -> 23.94kb (26.78%)
/img/ui-output.png -- 166.21kb -> 123.83kb (25.5%)
/img/ui-input.png -- 84.45kb -> 64.26kb (23.91%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2025-02-03 14:47:07 +01:00
Guillaume Moutier
c6539c42de api v1alpha1 (#17)
* api v1alpha1

Signed-off-by: Guillaume Moutier <gmoutier@redhat.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* use actual types in request models and refactor

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* make gradio optional and update README

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Run workflow jobs sequentially to avoid disk space outage (#19)

Github Action runners are running out of the space while
building both the images in parallel.

This change will build the image sequentially and also
clean up the cpu images before start building gpu image.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Add github job to build image (and not publish) on PR creation (#20)

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add start_server script for local dev

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* fix 3.12-only syntax

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* fix more py3.10-11 compatibility

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* rework output format and background tasks

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* speficy return schemas for openapi

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add processing time and update REDAME

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* lint markdown

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add MD033 to config

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* use port 5000

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* use port 5001 as default

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* update deps

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* refactor input request

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* return docling document

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* update new payload in README

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* add base64 example

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* wrap example in <details>

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* rename /url in /source

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* move main execution to __main__

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

---------

Signed-off-by: Guillaume Moutier <gmoutier@redhat.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Anil Vishnoi <vishnoianil@gmail.com>
2025-02-03 11:00:54 +01:00
Michele Dolfi
ddf3144512 make the image openshift-friendly
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2025-01-29 17:02:00 +00:00
Anil Vishnoi
ee7a237076 Minor fixes -
- Use port 5001
 - Publish cpu only arm64 image to quay.io as well

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
v0.1.0
2025-01-28 16:08:10 +00:00
Michele Dolfi
3f1e8fb4d7 ci: build on tags (#21)
Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
2025-01-28 08:30:56 +01:00
Anil Vishnoi
dff5cb35a3 Add support for arm64 architecture for cpu only image
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2025-01-28 04:32:29 +00:00
Anil Vishnoi
01fc6e10e8 Add github job to build image (and not publish) on PR creation (#20)
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2025-01-23 11:24:07 +01:00
Anil Vishnoi
e0c98aa953 Run workflow jobs sequentially to avoid disk space outage (#19)
Github Action runners are running out of the space while
building both the images in parallel.

This change will build the image sequentially and also
clean up the cpu images before start building gpu image.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2025-01-22 18:55:01 +01:00
Michele Dolfi
b00718bcc9 feat: upgrade endpoint to docling v2 (#13)
* upgrade endpoint to docling v2

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* fix Containerfile

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

---------

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-12-19 11:41:44 +01:00