Skip to content

typless/pre_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-training

This repository contains example code for using typless ability of pre-learning. Pre-learning ability allow developers to improve their customers experience. To use it you must upload previous invoice files of customer with attaching confirmed data. So for every row in database one request is should be done.

Prerequisites

  1. Register at typless

  2. Log in

  3. Click the Settings tab in the side navigation bar to get API key

  4. Create a new document type named pre-learning-example:

    • Click on the Documents tab in the side navigation bar
    • Click on the +New button
    • For the name set "pre-learning-example"
    • For the OCR language select "English"
    • Click on the Next button
    • Leave fields as they are and click on the Confirm button
  5. Pre-learning ability is not enabled on free plan - contact us to enable it for testing

  6. Get code of the example project from this Github repository.

    git clone https://github.com/typless/continuous_learning.git

    Set the API key:

    export API_KEY=YOUR_API_KEY_FROM_SETTINGS_TAB

    To install requirements:

    pip install -r requirements.txt

    To use pre-learning ability with example database:

    python pre_learning.py 

    To extract data from example invoice after pre-learning:

    python extract_data.py

About

How to use pre-learning ability of typless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages