SDK Recipes›Quét tài liệu → Bảng AI → CSV
AI Document Workflow

Quét tài liệu → Bảng AI → CSV

Chỉnh tài liệu đã chụp, phát hiện cấu trúc bảng bằng AI và xuất CSV.

document-scanner
→
ai-table-extractor
InputDocument image
Final resultCSV File
Tools useddocument-scanner → ai-table-extractor

Complete code

const scanned = await client.run("document-scanner", { file: photoFile });
const table = await client.run("ai-table-extractor", { file: scanned.files[0] });
const csvFile = table.files[0];
Hãy kiểm tra client.describe(toolId) hoặc Tool Reference trước khi thay đổi workflow.