Loading...
Loading...
Compare original and translation side by side
witan read--outlinewitan read--outlineWITAN_STATELESS=1--stateless4084295005025035044xxWITAN_STATELESS=1--stateless4084295005025035044xxundefinedundefinedundefinedundefined| Code | Meaning |
|---|---|
| Success |
| Error (bad arguments, network failure, unsupported format) |
| 代码 | 含义 |
|---|---|
| 成功 |
| 错误(参数错误、网络故障、不支持的格式) |
--pages--slides--offset--limit--outlinewitan read report.pdf --outlinewitan read report.pdf --pages 12-15witan read deck.pptx --outlinewitan read deck.pptx --slides 5-8witan read notes.docx --outlinewitan read notes.docx --offset 120 --limit 50--pages--slides--offset--limit--outlinewitan read report.pdf --outlinewitan read report.pdf --pages 12-15witan read deck.pptx --outlinewitan read deck.pptx --slides 5-8witan read notes.docx --outlinewitan read notes.docx --offset 120 --limit 50witan read <file-or-url> [flags]| Flag | Default | Description |
|---|---|---|
| — | PDF page range (e.g. |
| — | Presentation slide range (e.g. |
| | Start line (1-indexed) |
| | Maximum lines to return |
| | Show document structure instead of content |
| | Output full JSON response |
witan read <file-or-url> [flags]| 参数 | 默认值 | 描述 |
|---|---|---|
| — | PDF页码范围(例如 |
| — | 演示文稿幻灯片范围(例如 |
| | 起始行(从1开始计数) |
| | 返回的最大行数 |
| | 显示文档结构而非内容 |
| | 输出完整JSON响应 |
| Constraint | Value |
|---|---|
| Max PDF pages per read | 10 |
| Max PPTX slides per read | 10 |
| Default line limit | 2000 |
| Max file size | 25 MB |
| 限制项 | 数值 |
|---|---|
| 单次读取最大PDF页数 | 10 |
| 单次读取最大PPTX幻灯片数 | 10 |
| 默认行数限制 | 2000 |
| 最大文件大小 | 25 MB |
witan read source.pdf --outlinewitan read source.pdf --pages 3-8witan xlsx exec model.xlsx --input-json '...'witan read source.pdf --outlinewitan read source.pdf --pages 3-8witan xlsx exec model.xlsx --input-json '...' 1 Revenue Summary
2
3 Q1: $1,250,000
4 Q2: $1,380,000
text/plain [15 pages, 10 read, 847 lines total, showing 1–847]--outlineIntroduction [pages 1-2]
Background [pages 1-1]
Methodology [pages 2-2]
Results [pages 3-8]
Financial Summary [pages 3-5]
Projections [pages 6-8]
Appendix [pages 9-15]
[15 pages] 1 Revenue Summary
2
3 Q1: $1,250,000
4 Q2: $1,380,000
text/plain [15 pages, 10 read, 847 lines total, showing 1–847]--outlineIntroduction [pages 1-2]
Background [pages 1-1]
Methodology [pages 2-2]
Results [pages 3-8]
Financial Summary [pages 3-5]
Projections [pages 6-8]
Appendix [pages 9-15]
[15 pages]| Error | Fix |
|---|---|
| Check file path exists and is readable |
| Check the URL is accessible |
| File exceeds 25 MB limit |
| Set Content-Type header (API only) |
| Empty outline | Document has no bookmarks/headings; use offset/limit to navigate |
| Truncated text | Use |
| 错误 | 解决方案 |
|---|---|
| 检查文件路径是否存在且可读 |
| 检查URL是否可访问 |
| 文件超过25 MB限制 |
| 设置Content-Type请求头(仅API调用时) |
| 空大纲 | 文档没有书签/标题,使用offset/limit参数导航 |
| 文本被截断 | 使用 |