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
Brent Salisbury
3824aa6b2f
Add poetry install shell cmd to the readme ( #7 )
...
* Add poetry install shell cmd to the readme
Signed-off-by: Brent Salisbury <bsalisbu@redhat.com >
* Add GPU support instructions
- Validated on an EC2 GPU instance to work.
- Closes #8
Signed-off-by: Brent Salisbury <bsalisbu@redhat.com >
* Update README.md
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
---------
Signed-off-by: Brent Salisbury <bsalisbu@redhat.com >
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
Co-authored-by: Anil Vishnoi <vishnoianil@gmail.com >
2024-10-11 08:41:50 +02:00
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
Anil Vishnoi
fc11dc2540
Enable concurrent running of the image generation jobs ( #4 )
...
Group GPU image generate for GHCR and QUAY in one job,
and similarly group CPU only image generation for GHCR
and QUAY in another job. These two jobs can now run
concurrently.
By grouping the jobs for the same image type, it can
use the docker layer cache to run the second job faster.
If we separately build these images in four diffent and
concurrent jobs, they won't be able to use the cache.
If this still takes significantly long, we probably
have to generate image in it's own job, so that they can run
concurrently, without leveraging cache of docker layers.
Also added make file target to lint the github workflows.
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
2024-09-13 10:31:06 +02:00
Anil Vishnoi
4dd517c96a
Use consistent naming across ghcr.io and quay.io images ( #3 )
...
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
2024-09-13 08:28:52 +02:00
Anil Vishnoi
ae07e12b33
Fix github workflow ( #2 )
...
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
2024-09-12 22:16:00 +02:00
Anil Vishnoi
a91ee83c61
Publish docling-serve images to ghcr and quay container repositories ( #1 )
...
* Publish docling-serve images to ghcr and quay container repositories
This commit:
- Creates container file to build the image for cpu only
and default "with gpu" images
- Adds workflow jobs to publish the images to ghcr.io and quay.io
- Makefile to build these images locally for linux/amd64 platform.
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
* make cpu-only version with poetry
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com >
* Rename cpu/gpu image names and also update the supported platforms
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
---------
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com >
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com >
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com >
2024-09-12 22:02:42 +02:00
Michele Dolfi
77c2603a93
docling_serve
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com >
2024-09-06 22:05:58 +02:00
Michele Dolfi
923e9fa22d
add gitignore
...
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com >
2024-09-06 21:41:40 +02:00