Creating an intelligent structure model using custom AI engine
Creating an intelligent structure model using custom AI engine
Create an
intelligent structure model
based on input that represents the data that you expect the model to parse at run time.
Before you use the custom AI engine
to create an intelligent structure model, be sure to complete the following
prerequisites:
Create a custom AI connection. For example, a
Large Language Model connection.
You can only use a
Large Language Model connection of type
chat
.
For more information about a Large Language Model connection, see
Connections
in the
Administrator
help.
Enable Python Integration service
for the Secure Agent group. To do this, perform the following steps:
In Administrator, select
Runtime Environments
.
Right-click the Secure
Agent group and select
Enable or Disable Services and
Connectors
.
A dialog box listing all the services and
connectors for the Secure Agent group is displayed.
On the
Services
tab, enable the
Python Integration
service.
Click
OK
.
After you complete the prerequisites, perform the following steps to create an
intelligent structure model
using
the custom AI engine:
Click
New
Components
Intelligent Structure Model
, and then click
Create
.
On the
Intelligent Structure Model
page, enter a name for the
intelligent structure model
.
The name can contain alphanumeric characters and underscores.
Navigate to the project and folder where you want to save the model, or use the default location.
You can change the name or location after you save the
intelligent structure model
using the
Explore
page.
Under
AI-powered Model
, select
Custom AI
Engine
.
You can use the custom AI engine to process images, emails, text-based PDF files, and text
documents.
In
Custom AI Connection
, select an existing Large
Language Model connection, or click
New Connection
to
create a new Large Language Model connection.
Based on the type of input, first choose whether to base the model on a file
sampling or on the entire file. Select the file, and then click
Discover Structure
.
After you click
Discover Structure
,
Intelligent Structure Discovery
deciphers the data in the input and discovers the patterns
expressed in the data. The following image shows an example of discovered
structure on the
Visual Model
tab:
Intelligent Structure Discovery
creates nodes with unique names. If
Intelligent Structure Discovery
discovers instances of the same type of data, it adds a
number suffix to the node names. For example, if the input contains
timestamps in two tables,
Intelligent Structure Discovery
names them
timestamp1
and
timestamp2
.
You can refine the structure so that when you use the model in production, the
output meets your requirements. For more information, see Refining intelligent structure models.