Knowledge Bases
A Knowledge Base in Kofax TotalAgility is a repository of binary files used to store extraction patterns. Knowledge Bases are relatively compact. A Knowledge Base for 350 trained invoices is about 60 KB in size. Because the size increases linearly, 5,000 trained invoices have a Knowledge Base around the size of 1 MB.
When a user imports a Knowledge Base into a new project, the inherited knowledge enables the project to immediately extract data from a certain percentage of invoices. A single project may have multiple Knowledge Bases.
Documents that were not properly extracted can then be used to improve the extraction results for your project. This training is typically the responsibility of the system administrator who processes sample documents that are placed in a training set. The training session creates new extraction patterns that are stored with the project.
In addition, you can make these new extraction patterns portable by adding them to a Knowledge Base. If you do this, all projects using that Knowledge Base benefit from the training.
Five types of available Knowledge Bases store the following information:
- Amount Group (*.kba) - stores extraction patterns for amount fields such as subtotal and total.
- Invoice Group (*.kbi) - stores patterns for invoice fields such as invoice number and invoice date.
- Order Group (*.kbo) - stores extraction patterns for order fields such order number and order date.
- Trainable Group (*.kbtgl) - stores patterns for arbitrary values in fields not covered by the other group locators.
- Trainable Table (*.kbtbl) - stores extraction patterns for various types of fields within a table.
In addition to different types of Knowledge Bases, you can use one of two algorithms to create the extraction pattern: generic and specific.
With extraction online learning, the feedback loop happens immediately inside the production system. No manual interaction is required to convert the knowledge of the training documents into an improved extraction rate.