Setting Up AI
The first time you enable AI in your Agiloft system, you need to do some initial setup to enable the feature and configure the models you want to use. After initial setup, you still use the same process to change which AI Capabilities are running, and to add or remove models.
Prerequisites
AI features require the Advanced or Premium edition of Agiloft with the AI Platform add-on.
Initial Setup
To enable AI in your system, access the AI Credentials table. You can search for this table directly, or access it through the following steps:
- Go to Setup > Integration.
- Under AI, you will see a button for either Deploy or Configure. If you see Deploy, click it, and then click Configure. Otherwise, just click Configure.
- Wait until the AI Credentials page loads.
- Choose an account. The accounts are listed below.
- Local Agiloft Server Models: Holds models that are hosted on the same server as the KB.
- Agiloft Shared Hosting Models: Holds models that are hosted on Agiloft's dedicated servers.
- Default Amazon SageMaker Account: Holds models that are hosted on AWS. This allows you to host additional machine learning models that are either custom built or imported from an outside source.
When you first set up AI, you must configure either the Agiloft Shared Hosting Model credential or the Default Amazon SageMaker Account credential so your system can access machine learning models. This process is described in Configuring AI Credentials. AI Models hosted on the two Agiloft servers are not trainable, whereas models hosted on SageMaker are trainable. Once your credentials have been activated, you can then move models onto the Local Agiloft Server Models credential if you would like. For more information about moving models, visit the Move to Local section.
Configuring AI Credentials
To connect to Agiloft Shared Hosting Models, contact Sales to have a set of credentials and bucket name created for your organization. When you have the credentials ready:
- Navigate to the AI Credentials table.
- Click Agiloft Shared Hosting Models account to open it.
- Click Edit.
- Enter the credentials you received in the Access Key and Secret Key fields. If you did not already receive credentials, click the Get Keys button to generate Access Key and Secret Key values.
- If the record doesn't automatically save, click Save and navigate to the Models tab to see the models you can access.
If you have a SageMaker account you want to connect:
- Click Default Amazon SageMaker Account to open it.
- Click Edit.
- Enter the credentials for your account in the Access Key and Secret Key fields in Agiloft. To find this information in AWS, refer to Understanding and Getting Your Security Credentials.
- Click Save and Proceed to Models to see your SageMaker models.
Moving to Local
You might want to move a model to your local server. Hosting models locally can improve security if you run inference on your local server, and saves the cost of hosting models on SageMaker. However, keep in mind that models might run slower if they are moved onto a local server, and that models based on SageMaker algorithms might not allow you to run inference locally. You do not need to enter any Secret or Access Keys for local credentials.
To add models to the local server, convert a model from either the Agiloft Shared Hosting Models credential or the Default Amazon SageMaker Account credential. To convert a model:
- Open the AI Model record.
- Click Convert to Local Model. A validation message says that the download has begun. It might take a few minutes.
- When the download is complete, you receive a pop-up notification that the new record has been created.
- Go to the new AI Model record under the Local Agiloft Server Models credential. It has a Status of Disconnected.
- To activate the model, click Start Model.
Starting and Stopping Models
If you've already set up some models and you just want to start or stop them from running:
- Go to Setup > Integration, click Configure under AI, open the account hosting the model, and go to the Models tab.
- Open the model you want to run.
Click Start Model or Stop Model to toggle the model on or off.