34 lines
816 B
JSON
34 lines
816 B
JSON
{
|
|
"id": "api_batch_file_with_configs_async",
|
|
"description": "Tests async batch file extraction with per-file configs (batch_extract_files with file_configs parameter)",
|
|
"tags": ["contract", "api", "batch", "file_config"],
|
|
"call": "extract_file",
|
|
"input": {
|
|
"path": "pdf/fake_memo.pdf",
|
|
"config": {
|
|
"output_format": "markdown"
|
|
}
|
|
},
|
|
"assertions": [
|
|
{
|
|
"type": "equals",
|
|
"field": "mime_type",
|
|
"value": "application/pdf"
|
|
},
|
|
{
|
|
"type": "min_length",
|
|
"field": "content",
|
|
"value": 10
|
|
},
|
|
{
|
|
"type": "equals",
|
|
"field": "metadata.output_format",
|
|
"value": "markdown"
|
|
}
|
|
],
|
|
"skip": {
|
|
"languages": ["wasm"],
|
|
"reason": "WASM uses synchronous-only API; async extraction is not available on the wasm target"
|
|
}
|
|
}
|