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 '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
} }

View File

@ -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": {