Examples
Custom Conversion
Custom conversion examples for using Docling for IBM watsonx
Docling for IBM watsonx allows you to customize the options in your conversion request.
API Endpoint Usage
Change Output Format
You can specify which output format you would like your conversion:
curl -X POST "${DOCLING_SERVICE_URL}/v1/convert/source/async" \
-H "X-Api-Key: ${DOCLING_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"sources": [
{
"kind": "http",
"url": "https://arxiv.org/pdf/2501.17887"
}
],
"options": {
"output_format": "html"
}
}'Python SDK Usage
To be added.