Actor: Fixing example PDF document URLs

Signed-off-by: Václav Vančura <commit@vancura.dev>
This commit is contained in:
Václav Vančura 2025-02-05 10:50:08 +01:00 committed by Adam Kliment
parent 2d953663f4
commit 31056d10e4
2 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ curl --request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--data '{
"documentUrl": "https://example.com/document.pdf",
"documentUrl": "https://arxiv.org/pdf/2408.09869.pdf",
"outputFormat": "md",
"ocr": true
}'
@ -63,8 +63,8 @@ curl --request POST \
### Using Apify CLI
```bash
apify call username/actorname --input='{
"documentUrl": "https://example.com/file.pdf",
$ apify call username/actorname --input='{
"documentUrl": "https://arxiv.org/pdf/2408.09869.pdf",
"outputFormat": "md",
"ocr": true
}'
@ -84,7 +84,7 @@ The Actor accepts a JSON schema matching the file `.actor/input_schema.json`. Be
```json
{
"documentUrl": "https://some-website.com/document.pdf",
"documentUrl": "https://arxiv.org/pdf/2408.09869.pdf",
"outputFormat": "md",
"ocr": false
}

View File

@ -8,7 +8,7 @@
"title": "Document URL",
"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'.",
"prefill": "https://vancura.dev/assets/actor-test/facial-hairstyles-and-filtering-facepiece-respirators.pdf",
"prefill": "https://arxiv.org/pdf/2408.09869.pdf",
"editor": "textfield"
},
"outputFormat": {