Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const options = { method: 'POST', headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'}, body: JSON.stringify({app_id: 'app_abc123', file_url: 'https://example.com/sample.pdf'}) }; fetch('https://adp.laiye.com/open/agentic_doc_processor/{tenant_name}/v1/app-manage/ai-recommend', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "code": "<string>", "message": "<string>", "tips": "<string>", "data": { "app_id": "<string>", "app_name": "<string>", "app_label": [ "<string>" ], "config_version": "<string>", "extract_fields": [ { "field_name": "<string>", "field_prompt": "<string>", "sub_fields": [ { "field_name": "<string>", "field_prompt": "<string>" } ] } ], "parse_mode": "<string>", "enable_long_doc": true, "long_doc_config": [ { "doc_type": "<string>", "doc_desc": "<string>" } ] } }
基于示例文档,AI 自动生成字段名称、字段类型和字段提示词等配置参考。
用户接入 OpenAPI 的令牌,在应用 API 中查看。
租户名称,默认 laiye。
应用配置结果。
业务码。成功通常为 success 或 200。
返回信息。
详细信息,默认为空。
Show child attributes