Skip to content

pixfar/document-intelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published