Use this topic as a guide to create a learning instance leveraging the generative AI (GenAI) capability to extract data from unstructured
documents such as Contracts, Agreements, Reports, Letters, and Emails.
About this task
With generative AI, you can create a learning instance to extract
data from unstructured documents without training the learning instance. This is
critical for fast and accurate document processing. Let’s walk you through the steps
of creating a learning instance with the generative AI
capability that will enable accurate data extraction from unstructured
documents.
Before you begin
A Professional Developer of a company would perform the following tasks:
- Create, edit, and delete learning instances
- Upload documents for processing and testing
- Check-in and check-out learning instances from private to public
folders
License requirement: Bot Creator license to perform the above
tasks.
Assigned roles and permission:
- AAE_IQBot Services or AAE_IQBot
Admin
- AAE_Basic
Procedure
-
Log in to the Control Room and navigate to and click the
Create Learning Instance button to start creating a
new learning instance.
-
Next, enter a unique learning instance name to identify it easily in the
Learning Instances list, and proceed to select the
other options as follows:
-
Description (optional): This is an optional
field that can be used to add a meaningful description and summarize the
use of the learning instance.
-
Document Type: Unstructured document
On selecting this option, the generative AI driven data
extraction feature is enabled. This is enabled by default for
unstructured document types.
-
Language: Select a
language.
-
Locale: as per locale of the documents.
The locale is selected based on your language and the country where the document
originates from.
-
Provider: Automation Anywhere
(User-defined)
This value is selected by default as we currently offer this option
only.
-
OCR Provider: Google Vision OCR or ABBYY
OCR
Support for ABBYY OCR is new from release
v32.
-
Click Next to begin creating form and table fields for
the learning instance.
-
Click Add a field to begin adding fields for each data
point or entity for which you want to extract data, from your documents.
-
Next, add a Field name which must be specific to the
data point you want to extract, a Field label which is
used to create a default search query, and select Data
type to define the field value data structure.
You can select from Text, Number, Date, or Address Data type value options from the
drop-down.
-
When leveraging the generative AI capability, the
Confidence field is grayed out. The field can be set
to Required or Optional.
-
For the Search query for generative AI model section,
you have the option to go with the system-generated query or add a custom
query.
For example, for a total cost field, the
default generative AI query would say ‘What is the
total cost?’. You can customize the query to ‘What is the total cost?
Extract the number without the currency'. This extracts the total cost
without the currency information.
-
In the next step, define the Field Rules and
Document Rules for the form and table fields.
-
From v32, you can define multiple tables during the process of defining
Table fields. Based on your use case, you can define
additional tables by clicking the Add a table icon next
to the table field drop-down.
-
Click Create to complete creating the learning
instance.
What to do next
- Publish the learning instance to the public repository so that the learning
instance can be used in public mode to extract data from real documents, and
validators can manually validate documents. See Publish learning instance to production.
- In the list page, identify the learning
instance you just created and published and click Process
to begin uploading documents for processing and data extraction. See Process documents in Document Automation.
- Open the CSV document with the extracted data to compare with the processed
document to validate and confirm that the Generative AI
enabled search query fields has extracted data with high accuracy.