mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-31 14:34:40 +00:00
Actor: Fixing example PDF document URLs
Signed-off-by: Václav Vančura <commit@vancura.dev>
This commit is contained in:
parent
2d953663f4
commit
31056d10e4
@ -54,7 +54,7 @@ curl --request POST \
|
|||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--header 'Authorization: Bearer YOUR_API_TOKEN' \
|
--header 'Authorization: Bearer YOUR_API_TOKEN' \
|
||||||
--data '{
|
--data '{
|
||||||
"documentUrl": "https://example.com/document.pdf",
|
"documentUrl": "https://arxiv.org/pdf/2408.09869.pdf",
|
||||||
"outputFormat": "md",
|
"outputFormat": "md",
|
||||||
"ocr": true
|
"ocr": true
|
||||||
}'
|
}'
|
||||||
@ -63,8 +63,8 @@ curl --request POST \
|
|||||||
### Using Apify CLI
|
### Using Apify CLI
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apify call username/actorname --input='{
|
$ apify call username/actorname --input='{
|
||||||
"documentUrl": "https://example.com/file.pdf",
|
"documentUrl": "https://arxiv.org/pdf/2408.09869.pdf",
|
||||||
"outputFormat": "md",
|
"outputFormat": "md",
|
||||||
"ocr": true
|
"ocr": true
|
||||||
}'
|
}'
|
||||||
@ -84,7 +84,7 @@ The Actor accepts a JSON schema matching the file `.actor/input_schema.json`. Be
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"documentUrl": "https://some-website.com/document.pdf",
|
"documentUrl": "https://arxiv.org/pdf/2408.09869.pdf",
|
||||||
"outputFormat": "md",
|
"outputFormat": "md",
|
||||||
"ocr": false
|
"ocr": false
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"title": "Document URL",
|
"title": "Document URL",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "URL of the document to process with Docling. Supported formats: images, 'pdf', 'docx', 'pptx', 'xlsx, 'html', 'md', 'xml_pubmed', 'asciidoc', 'xml_uspto'.",
|
"description": "URL of the document to process with Docling. Supported formats: images, 'pdf', 'docx', 'pptx', 'xlsx, 'html', 'md', 'xml_pubmed', 'asciidoc', 'xml_uspto'.",
|
||||||
"prefill": "https://vancura.dev/assets/actor-test/facial-hairstyles-and-filtering-facepiece-respirators.pdf",
|
"prefill": "https://arxiv.org/pdf/2408.09869.pdf",
|
||||||
"editor": "textfield"
|
"editor": "textfield"
|
||||||
},
|
},
|
||||||
"outputFormat": {
|
"outputFormat": {
|
||||||
|
Loading…
Reference in New Issue
Block a user