{"_id":"@aivue/doc-intelligence","_rev":"5-1315224282e96a3cc07b71d0ac3a12ab","name":"@aivue/doc-intelligence","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@aivue/doc-intelligence","version":"1.0.0","keywords":["vue","ai","document","parser","ocr","pdf","invoice","receipt","form","extraction","tesseract","document-intelligence","data-extraction","entity-recognition","document-processing","ui","components"],"author":{"name":"reachbrt"},"license":"MIT","_id":"@aivue/doc-intelligence@1.0.0","maintainers":[{"name":"aivue","email":"reachbrt@gmail.com"}],"homepage":"https://github.com/reachbrt/vueai#readme","bugs":{"url":"https://github.com/reachbrt/vueai/issues"},"dist":{"shasum":"cf9ffa8380973740e832a8faee34c9dde0bba85a","tarball":"https://registry.npmjs.org/@aivue/doc-intelligence/-/doc-intelligence-1.0.0.tgz","fileCount":27,"integrity":"sha512-7H1eI2x31VaFs7w7AWK7o2m4azmWbp99QVJAXJIH00nLEG3zu3P7eu6ifgjrXQHUCout0xTPHMLgekw+iZxH5Q==","signatures":[{"sig":"MEYCIQCsNnTa6BcvWCfiJ27oYhVTi3f4THsGxbNuHZ45srla7gIhAI8LkixnkjNv7r+lcAbSvKE5JS7uI3pYV6MozaaZ9saP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1104453},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./style.css":"./dist/doc-intelligence.css","./components/*":{"import":"./dist/components/*","require":"./dist/components/*"}},"gitHead":"6707349145ca865849403aeeb8b7241ca5fc5713","scripts":{"dev":"vite --watch","lint":"eslint \"src/**/*.{ts,vue}\"","test":"vitest run","build":"npm run clean && vite build && npm run postbuild","clean":"rm -rf dist","postbuild":"cp -r src/components dist/components && cp -r src/composables dist/composables && cp -r src/utils dist/utils && cp README.md dist/ && cp CHANGELOG.md dist/ 2>/dev/null || true","test:watch":"vitest"},"_npmUser":{"name":"aivue","email":"reachbrt@gmail.com"},"repository":{"url":"git+https://github.com/reachbrt/vueai.git","type":"git","directory":"packages/doc-intelligence"},"_npmVersion":"10.9.2","description":"AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pdf-parse":"^1.1.1","pdfjs-dist":"^3.11.0","tesseract.js":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","tsup":"^8.0.0","eslint":"^8.56.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.16.0","vite-plugin-dts":"^3.7.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^2.6.0 || ^3.0.0","@aivue/core":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/doc-intelligence_1.0.0_1764897874030_0.22887014532383532","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aivue/doc-intelligence","version":"1.0.1","keywords":["vue","ai","document","parser","ocr","pdf","invoice","receipt","form","extraction","tesseract","document-intelligence","data-extraction","entity-recognition","document-processing","ui","components"],"author":{"name":"reachbrt"},"license":"MIT","_id":"@aivue/doc-intelligence@1.0.1","maintainers":[{"name":"aivue","email":"reachbrt@gmail.com"}],"homepage":"https://github.com/reachbrt/vueai#readme","bugs":{"url":"https://github.com/reachbrt/vueai/issues"},"dist":{"shasum":"721a308d90521f7698f175aa8ef5e1800f120217","tarball":"https://registry.npmjs.org/@aivue/doc-intelligence/-/doc-intelligence-1.0.1.tgz","fileCount":27,"integrity":"sha512-RCqm6vDz6q/KK8lkZzpozy1K0ZtwD10ywgE1Zwepjg4xKXEzgqcqe8Eh8n0Q1prksIZJBWcadzwjO0u6P/SgdA==","signatures":[{"sig":"MEQCIG1uOgoFUceqPqEu5H24kWXSJYXMDbps7/5gtLr3srehAiAqzoeC/x7wToG0sFdR6pIpL4iqx73VjWTrwMppdoHUuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1104519},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./style.css":"./dist/doc-intelligence.css","./components/*":{"import":"./dist/components/*","require":"./dist/components/*"},"./dist/doc-intelligence.css":"./dist/doc-intelligence.css"},"gitHead":"6707349145ca865849403aeeb8b7241ca5fc5713","scripts":{"dev":"vite --watch","lint":"eslint \"src/**/*.{ts,vue}\"","test":"vitest run","build":"npm run clean && vite build && npm run postbuild","clean":"rm -rf dist","postbuild":"cp -r src/components dist/components && cp -r src/composables dist/composables && cp -r src/utils dist/utils && cp README.md dist/ && cp CHANGELOG.md dist/ 2>/dev/null || true","test:watch":"vitest"},"_npmUser":{"name":"aivue","email":"reachbrt@gmail.com"},"repository":{"url":"git+https://github.com/reachbrt/vueai.git","type":"git","directory":"packages/doc-intelligence"},"_npmVersion":"10.9.2","description":"AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pdf-parse":"^1.1.1","pdfjs-dist":"^3.11.0","tesseract.js":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","tsup":"^8.0.0","eslint":"^8.56.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.16.0","vite-plugin-dts":"^3.7.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^2.6.0 || ^3.0.0","@aivue/core":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/doc-intelligence_1.0.1_1764899898691_0.24437940508473965","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@aivue/doc-intelligence","version":"1.0.2","keywords":["vue","ai","document","parser","ocr","pdf","invoice","receipt","form","extraction","tesseract","document-intelligence","data-extraction","entity-recognition","document-processing","ui","components"],"author":{"name":"reachbrt"},"license":"MIT","_id":"@aivue/doc-intelligence@1.0.2","maintainers":[{"name":"aivue","email":"reachbrt@gmail.com"}],"homepage":"https://github.com/reachbrt/vueai#readme","bugs":{"url":"https://github.com/reachbrt/vueai/issues"},"dist":{"shasum":"d3674940e45b33274e00d04b0eb7880988b62b93","tarball":"https://registry.npmjs.org/@aivue/doc-intelligence/-/doc-intelligence-1.0.2.tgz","fileCount":27,"integrity":"sha512-MjZYiG/tFur3ee59k2vPT/LOAcmSBqwqVXkLWYJKco+HxtER1BKQpeOtZm+en1eK2QP6vVfjc/gRW1KNA6R/xA==","signatures":[{"sig":"MEUCIQCXbL0flOPYgkf6VzRPQEy9wzXEcj5AWgo0V/v8ksa95AIgEfr9JviPbv3mX2M7CgGFaibpH2H8YUUIBAryzgLl6rQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1105899},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./style.css":"./dist/doc-intelligence.css","./components/*":{"import":"./dist/components/*","require":"./dist/components/*"},"./dist/doc-intelligence.css":"./dist/doc-intelligence.css"},"gitHead":"c3a2b65fec27d25b9f1287eadf3f18abfc6e225e","scripts":{"dev":"vite --watch","lint":"eslint \"src/**/*.{ts,vue}\"","test":"vitest run","build":"npm run clean && vite build && npm run postbuild","clean":"rm -rf dist","postbuild":"cp -r src/components dist/components && cp -r src/composables dist/composables && cp -r src/utils dist/utils && cp README.md dist/ && cp CHANGELOG.md dist/ 2>/dev/null || true","test:watch":"vitest"},"_npmUser":{"name":"aivue","email":"reachbrt@gmail.com"},"repository":{"url":"git+https://github.com/reachbrt/vueai.git","type":"git","directory":"packages/doc-intelligence"},"_npmVersion":"10.9.2","description":"AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pdf-parse":"^1.1.1","pdfjs-dist":"^3.11.0","tesseract.js":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","tsup":"^8.0.0","eslint":"^8.56.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.16.0","vite-plugin-dts":"^3.7.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^2.6.0 || ^3.0.0","@aivue/core":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/doc-intelligence_1.0.2_1764907560172_0.3696190812493352","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@aivue/doc-intelligence","version":"1.0.3","keywords":["vue","ai","document","parser","ocr","pdf","invoice","receipt","form","extraction","tesseract","document-intelligence","data-extraction","entity-recognition","document-processing","ui","components"],"author":{"name":"reachbrt"},"license":"MIT","_id":"@aivue/doc-intelligence@1.0.3","maintainers":[{"name":"aivue","email":"reachbrt@gmail.com"}],"homepage":"https://github.com/reachbrt/vueai#readme","bugs":{"url":"https://github.com/reachbrt/vueai/issues"},"dist":{"shasum":"bce0b1dcb3d23f3145ec88120e04f97bbb581fb6","tarball":"https://registry.npmjs.org/@aivue/doc-intelligence/-/doc-intelligence-1.0.3.tgz","fileCount":27,"integrity":"sha512-scehequUEp8eUmjEWIQu2TvSxuOtjwUuo3mOY73BiCd3mjpjlTY1F1T9PDuBWAyPWw59pV9gpd9EKQBzlx/3+g==","signatures":[{"sig":"MEUCIQDG3ChlT9FXKAig1st9V7GEhGx14fcCiIUJ86PSPJiQEQIgT7HduqWvqnTRa3Cb5Xu4YMtPUt3XYI3gcEqFlNNPR3g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1107334},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./style.css":"./dist/doc-intelligence.css","./components/*":{"import":"./dist/components/*","require":"./dist/components/*"},"./dist/doc-intelligence.css":"./dist/doc-intelligence.css"},"gitHead":"2567f0769c449fe4333ccc807a82444957dc0cd3","scripts":{"dev":"vite --watch","lint":"eslint \"src/**/*.{ts,vue}\"","test":"vitest run","build":"npm run clean && vite build && npm run postbuild","clean":"rm -rf dist","postbuild":"cp -r src/components dist/components && cp -r src/composables dist/composables && cp -r src/utils dist/utils && cp README.md dist/ && cp CHANGELOG.md dist/ 2>/dev/null || true","test:watch":"vitest"},"_npmUser":{"name":"aivue","email":"reachbrt@gmail.com"},"repository":{"url":"git+https://github.com/reachbrt/vueai.git","type":"git","directory":"packages/doc-intelligence"},"_npmVersion":"10.9.2","description":"AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pdf-parse":"^1.1.1","pdfjs-dist":"^3.11.0","tesseract.js":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.0","tsup":"^8.0.0","eslint":"^8.56.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.16.0","vite-plugin-dts":"^3.7.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^2.6.0 || ^3.0.0","@aivue/core":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/doc-intelligence_1.0.3_1765265263173_0.03897591486406626","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@aivue/doc-intelligence","version":"1.0.4","description":"AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./style.css":"./dist/doc-intelligence.css","./dist/doc-intelligence.css":"./dist/doc-intelligence.css","./components/*":{"import":"./dist/components/*","require":"./dist/components/*"}},"scripts":{"build":"npm run clean && vite build && npm run postbuild","dev":"vite --watch","lint":"eslint \"src/**/*.{ts,vue}\"","clean":"rm -rf dist","test":"vitest run","test:watch":"vitest","postbuild":"cp -r src/components dist/components && cp -r src/composables dist/composables && cp -r src/utils dist/utils && cp README.md dist/ && cp CHANGELOG.md dist/ 2>/dev/null || true"},"keywords":["vue","ai","document","parser","ocr","pdf","invoice","receipt","form","extraction","tesseract","document-intelligence","data-extraction","entity-recognition","document-processing","ui","components"],"author":{"name":"reachbrt"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/reachbrt/vueai.git","directory":"packages/doc-intelligence"},"homepage":"https://github.com/reachbrt/vueai#readme","bugs":{"url":"https://github.com/reachbrt/vueai/issues"},"publishConfig":{"access":"public"},"dependencies":{"tesseract.js":"^5.0.0","pdf-parse":"^1.1.1","pdfjs-dist":"^3.11.0"},"peerDependencies":{"@aivue/core":"^1.3.2","vue":"^2.6.0 || ^3.0.0"},"devDependencies":{"@types/node":"^20.16.0","@vitejs/plugin-vue":"^5.0.0","eslint":"^8.56.0","tsup":"^8.0.0","typescript":"^5.3.0","vite-plugin-dts":"^3.7.0","vitest":"^1.0.0","vue":"^3.5.0"},"_id":"@aivue/doc-intelligence@1.0.4","gitHead":"c54d7def7f2bad63a3e63881dd7ac15ba3e957a4","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-hA1fGLmQcp98FspmtGS6pzDTCO4t2MPPqDHwPX66v2DBIkjJ6l0Qr3rr8hanUgTRBluHhNXGDQIwNto1busDYQ==","shasum":"1a89677f4e644ad52c0c21b091c82166189d089e","tarball":"https://registry.npmjs.org/@aivue/doc-intelligence/-/doc-intelligence-1.0.4.tgz","fileCount":27,"unpackedSize":1107334,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCH0gdvtflM1fcDGjZvbyMfZyOpErJG2q6hWqteJ2QilwIgWcM2BhhPkr/AXMnIi6HBALE2DYaMcuLcxEF/ViaolQo="}]},"_npmUser":{"name":"aivue","email":"reachbrt@gmail.com"},"directories":{},"maintainers":[{"name":"aivue","email":"reachbrt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/doc-intelligence_1.0.4_1768404879649_0.5187961961366279"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-05T01:24:33.965Z","modified":"2026-01-14T15:34:39.888Z","1.0.0":"2025-12-05T01:24:34.252Z","1.0.1":"2025-12-05T01:58:18.923Z","1.0.2":"2025-12-05T04:06:00.361Z","1.0.3":"2025-12-09T07:27:43.353Z","1.0.4":"2026-01-14T15:34:39.791Z"},"bugs":{"url":"https://github.com/reachbrt/vueai/issues"},"author":{"name":"reachbrt"},"license":"MIT","homepage":"https://github.com/reachbrt/vueai#readme","keywords":["vue","ai","document","parser","ocr","pdf","invoice","receipt","form","extraction","tesseract","document-intelligence","data-extraction","entity-recognition","document-processing","ui","components"],"repository":{"type":"git","url":"git+https://github.com/reachbrt/vueai.git","directory":"packages/doc-intelligence"},"description":"AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition","maintainers":[{"name":"aivue","email":"reachbrt@gmail.com"}],"readme":"# @aivue/doc-intelligence\n\n> AI-powered document parser and extractor for Vue 3 - Upload PDFs/images, extract structured data from invoices, receipts, forms, and IDs with OCR and entity recognition\n\n[![npm version](https://img.shields.io/npm/v/@aivue/doc-intelligence.svg)](https://www.npmjs.com/package/@aivue/doc-intelligence)\n[![npm downloads](https://img.shields.io/badge/downloads-285%2Fmonth-CB3837?style=flat-square&logo=npm)](https://www.npmjs.com/package/@aivue/doc-intelligence)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## ✨ Features\n\n### 📄 Multi-Format Document Support\n- **PDF Processing** - Extract text from PDF documents\n- **Image Processing** - Support for PNG, JPG, JPEG, and more\n- **Drag & Drop Upload** - Intuitive file upload interface\n- **Multi-File Processing** - Process multiple documents simultaneously\n\n### 🔍 Intelligent Document Understanding\n- **Document Type Detection** - Automatically identifies invoices, receipts, forms, IDs, passports, driver licenses, business cards, and contracts\n- **AI-Powered Classification** - Optional AI enhancement for better accuracy\n- **Pattern Matching** - Fast, offline document type detection\n\n### 🤖 OCR & Text Extraction\n- **Offline OCR** - Uses Tesseract.js for privacy-first text extraction\n- **Multi-Language Support** - Process documents in 100+ languages\n- **High Accuracy** - Advanced OCR with confidence scores\n- **PDF Text Extraction** - Native PDF text extraction with fallback to OCR\n\n### 🎯 Entity Recognition\n- **Dates** - Extracts dates in various formats\n- **Monetary Amounts** - Identifies currency values\n- **Names** - Detects person and company names\n- **Email Addresses** - Finds email contacts\n- **Phone Numbers** - Extracts phone numbers in multiple formats\n- **Addresses** - Identifies street addresses\n- **Invoice Numbers** - Detects invoice/receipt numbers\n- **Tax IDs** - Finds tax identification numbers\n\n### 📝 Auto-Generated Forms\n- **Smart Form Generation** - Automatically creates Vue forms from extracted data\n- **Editable Fields** - Review and edit extracted information\n- **Confidence Indicators** - Shows extraction confidence for each field\n- **Validation** - Built-in form validation\n\n### 🎨 Beautiful UI Components\n- **DocumentUpload** - Drag-and-drop file upload with preview\n- **DocumentViewer** - Display documents with extracted data overlay\n- **ExtractedDataForm** - Auto-generated forms from document data\n\n### 🔒 Privacy-First\n- **Local Processing** - All OCR happens in the browser\n- **No Server Required** - Works completely offline\n- **Data Security** - Your documents never leave your device\n\n## 📦 Installation\n\n```bash\nnpm install @aivue/doc-intelligence\n```\n\n## 🚀 Quick Start\n\n### Basic Usage\n\n```vue\n<template>\n  <div>\n    <DocumentUpload\n      @files-selected=\"handleFilesSelected\"\n      :multiple=\"true\"\n      :max-file-size=\"10\"\n    />\n\n    <DocumentViewer\n      v-if=\"currentDocument\"\n      :document-url=\"currentDocument.url\"\n      :document-name=\"currentDocument.file.name\"\n      :document-type=\"currentDocument.documentType\"\n      :extracted-data=\"currentDocument.extractedData\"\n    />\n\n    <ExtractedDataForm\n      v-if=\"currentDocument?.extractedData\"\n      :extracted-data=\"currentDocument.extractedData\"\n      @submit=\"handleFormSubmit\"\n    />\n  </div>\n</template>\n\n<script setup>\nimport { DocumentUpload, DocumentViewer, ExtractedDataForm, useDocIntelligence } from '@aivue/doc-intelligence';\nimport '@aivue/doc-intelligence/style.css';\n\nconst { documents, addDocuments, processDocument, currentDocument } = useDocIntelligence({\n  autoProcess: true,\n  ocrLanguage: 'eng'\n});\n\nconst handleFilesSelected = async (files) => {\n  const newDocs = await addDocuments(files);\n  if (newDocs.length > 0) {\n    await processDocument(newDocs[0].id);\n  }\n};\n\nconst handleFormSubmit = (data) => {\n  console.log('Form submitted:', data);\n};\n</script>\n```\n\n### With AI Enhancement\n\n```vue\n<script setup>\nimport { useDocIntelligence } from '@aivue/doc-intelligence';\nimport { createAIClient } from '@aivue/core';\n\nconst aiClient = createAIClient({\n  provider: 'openai',\n  apiKey: 'your-api-key'\n});\n\nconst { addDocuments, processDocument } = useDocIntelligence({\n  useAI: true,\n  aiClient,\n  autoProcess: true\n});\n</script>\n```\n\n## 📚 Components\n\n### DocumentUpload\n\nUpload component with drag-and-drop support.\n\n**Props:**\n- `title` (String) - Upload area title\n- `description` (String) - Upload area description\n- `acceptedTypes` (String) - Accepted file MIME types\n- `acceptedFormats` (String) - Display text for accepted formats\n- `multiple` (Boolean) - Allow multiple file selection\n- `maxFileSize` (Number) - Maximum file size in MB\n- `maxFiles` (Number) - Maximum number of files\n- `showProgress` (Boolean) - Show upload progress bar\n\n**Events:**\n- `files-selected` - Emitted when files are selected\n- `file-removed` - Emitted when a file is removed\n- `error` - Emitted on validation errors\n\n### DocumentViewer\n\nDisplay documents with extracted data overlay.\n\n**Props:**\n- `documentUrl` (String) - Document URL or data URL\n- `documentName` (String) - Document filename\n- `documentType` (Object) - Detected document type\n- `extractedData` (Object) - Extracted entities\n- `showExtractedData` (Boolean) - Show data panel\n\n### ExtractedDataForm\n\nAuto-generated form from extracted data.\n\n**Props:**\n- `title` (String) - Form title\n- `description` (String) - Form description\n- `fields` (Array) - Custom form fields\n- `extractedData` (Object) - Extracted data to generate form from\n- `autoGenerateFields` (Boolean) - Auto-generate fields from data\n- `submitButtonText` (String) - Submit button text\n\n**Events:**\n- `submit` - Emitted on form submission\n- `reset` - Emitted on form reset\n- `field-change` - Emitted when field value changes\n\n## 🎯 Composable API\n\n### useDocIntelligence\n\nMain composable for document processing.\n\n```typescript\nconst {\n  documents,\n  isProcessing,\n  currentDocument,\n  totalDocuments,\n  completedDocuments,\n  failedDocuments,\n  addDocuments,\n  processDocument,\n  processAllDocuments,\n  removeDocument,\n  clearAllDocuments,\n  getDocument,\n  cleanup\n} = useDocIntelligence(options);\n```\n\n**Options:**\n- `useAI` (Boolean) - Use AI for enhanced accuracy\n- `aiClient` (Object) - AI client instance\n- `ocrLanguage` (String) - OCR language code (default: 'eng')\n- `autoProcess` (Boolean) - Auto-process documents on upload\n\n## 🔧 Utility Functions\n\n### OCR Functions\n\n```typescript\nimport { extractTextFromImage, extractTextFromPDF, initializeOCR } from '@aivue/doc-intelligence';\n\n// Extract text from image\nconst result = await extractTextFromImage(imageFile);\n\n// Extract text from PDF\nconst results = await extractTextFromPDF(pdfFile);\n```\n\n### Document Type Detection\n\n```typescript\nimport { detectDocumentType, detectDocumentTypeWithAI } from '@aivue/doc-intelligence';\n\n// Pattern-based detection\nconst type = detectDocumentType(text);\n\n// AI-enhanced detection\nconst type = await detectDocumentTypeWithAI(text, aiClient);\n```\n\n### Entity Extraction\n\n```typescript\nimport { extractAllEntities, extractEntitiesWithAI } from '@aivue/doc-intelligence';\n\n// Pattern-based extraction\nconst entities = extractAllEntities(text);\n\n// AI-enhanced extraction\nconst entities = await extractEntitiesWithAI(text, aiClient);\n```\n\n## 📖 Examples\n\nCheck out the [demo](https://aivue.netlify.app/) for live examples.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## 📦 Related Packages\n\nExplore the complete @aivue ecosystem:\n\n### 🧠 [@aivue/core](https://www.npmjs.com/package/@aivue/core)\nCore AI functionality for Vue.js components\n\n### 💬 [@aivue/chatbot](https://www.npmjs.com/package/@aivue/chatbot)\nAI-powered chat components for Vue.js\n\n### ✨ [@aivue/autosuggest](https://www.npmjs.com/package/@aivue/autosuggest)\nAI-powered suggestion components for Vue.js\n\n### 📝 [@aivue/smartform](https://www.npmjs.com/package/@aivue/smartform)\nAI-powered form validation for Vue.js\n\n### 🎭 [@aivue/emotion-ui](https://www.npmjs.com/package/@aivue/emotion-ui)\nEmotion-aware UI components with sentiment analysis\n\n### 🧠 [@aivue/predictive-input](https://www.npmjs.com/package/@aivue/predictive-input)\nAI-powered predictive text input\n\n### 🔔 [@aivue/smart-notify](https://www.npmjs.com/package/@aivue/smart-notify)\nIntelligent notification system\n\n### 🎤 [@aivue/voice-actions](https://www.npmjs.com/package/@aivue/voice-actions)\nVoice command integration\n\n### 📋 [@aivue/smart-datatable](https://www.npmjs.com/package/@aivue/smart-datatable)\nAdvanced data table components\n\n### 🖼️ [@aivue/image-caption](https://www.npmjs.com/package/@aivue/image-caption)\nAI-powered image captioning with OpenAI Vision models\n\n### 📊 [@aivue/analytics](https://www.npmjs.com/package/@aivue/analytics)\nAI-powered analytics and insights\n\n## 📄 License\n\nMIT © [reachbrt](https://github.com/reachbrt)\n\n## 🔗 Links\n\n- [Documentation](https://github.com/reachbrt/vueai#readme)\n- [Demo](https://aivue.netlify.app/)\n- [GitHub](https://github.com/reachbrt/vueai)\n- [npm](https://www.npmjs.com/package/@aivue/doc-intelligence)\n\n","readmeFilename":"README.md"}