List of supported presets for docling-serve #3810
|
Hello. I have managed to run docling-serve on a DGX-Spark as a docker container and have setup the container image with the all the models downloaded through
I am trying to use a client to make requests to this container, with the various presets. Is there a list of preset strings which are considered valid by the API? I am looking for ALL available preset strings for the following:
Are the preset strings same as the preset ids mentioned in the model catalog page? Or are these picked up from those defined in the preset registry in DoclingConverterManager? Any help is appreciated. P.S. I couldn't open a discussion under docling-serve as that repository didn't have Discussions enabled. Apologies if this is the wrong place to open this discussion. |
Replies: 2 comments
|
One image-tag detail first: the official live release image is
The source of truth for the API-facing strings is the jobkit manager's There is one important 1.26.0 code/formula mismatch. Serve configures The model catalog/downloader IDs are therefore not interchangeable with API preset strings. Registry membership is not a guarantee that the preset can initialize on this platform:
Finally, the three There is no preset-discovery endpoint in 1.26.0: OpenAPI models these fields as strings with examples rather than enums, and the enabled management endpoints expose memory statistics/counts only. |
|
Thank you for the detailed response. I forgot to add the "v" to the version string when copying from my terminal. My bad. I was bitten by the code/formula mismatch which I found out after looking at the source code. I'll configure it to use remote services for the models not present the artifact catalog. |
One image-tag detail first: the official live release image is
ghcr.io/docling-project/docling-serve-cu130:v1.26.0; the literal no-vtag in the question currently returns “not found.” The official release build is multi-arch and pins docling-serve commit80878c6; its frozen lock resolvesdocling-slim 2.107.0anddocling-jobkit 2.0.0. With exactly the environment shown (and no additionalALLOWED_*,CUSTOM_*, orDEFAULT_*settings), these are the recognized request strings:defaultresolution / noteocr_presetauto,easyocr,kserve_v2_ocr,nemotron-ocr,ocrmac,rapidocr,tesseract,tesserocrauto; literaldefaultis rejected by …