document-intelligence

1.0.1 • Public • Published

Document Intelligence

Document Intelligence is an automated data processing system that uses AI and OCR to quickly extract text and structure from documents.

Install the package

npm i document-intelligence

Sample Code

const DocumentIntelligence = require('document-intelligence');

const options = {
    key: "your-key",
    endpoint: "your-endpoint"
};

const documentIntelligence = new DocumentIntelligence(options);

const formUrl = [
    "https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-layout.pdf",
];

async function runTest() {
    try {
        const result = await documentIntelligence.analyzeDocuments(formUrl);
        console.log('Analysis Result:', result);
    } catch (error) {
        console.error('Error:', error);
    }
}

runTest();

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i document-intelligence

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    5.31 kB

    Total Files

    5

    Last publish

    Collaborators

    • pixfar