How to install the offline bundle for out-of-the-box (OOB) pre-trained machine learning (ML) packages in AI Center?
Issue Description: The Out-Of-Box (OOB) Machine Learning (ML) packages do not appear within the GUI of the AI Center > ML Packages > Create page within an offline installation environment.
Root Cause: Unlike an online installation of Automation Suite, the out-of-box (OOB) machine learning (ML) packages are not included during installation and must be manually uploaded to the Ai Center docker registry before making them available to the end user within AI Center.
Diagnosing: Navigate to AI Center > > ML Packages
Example online installation
Example offline Installation
* Note the missing packages
Resolution:
- Load the optional bundle using the following commands within an Automation Suite server node's terminal. This example uses the Document Understanding packages but could be applied to others like Computer Vision.
# Navigate to the /opt/UiPathAutomationSuite directory
cd /opt/UiPathAutomationSuite
# Create the tmp folder if it doesn't exist
mkdir -p /uipath/tmp
# Download the Document Understanding optional bundle that matches your base version of Automation suite using wget and save it as 'du-ondemand.tar.gz' to the /uipath/tmp directory
wget -O /uipath/tmp/du-ondemand.tar.gz https://download.uipath.com/automation-suite/2023.4.0/dusemistructured-2023.4.0.tar.gz
#Run the UiPath configuration script to load the optional bundle
./configureUiPathAS.sh registry upload --optional-offline-bundle "du-ondemand.tar.gz" --offline-tmp-folder "/uipath/tmp"
- Now that the AI Center Docker registry has been hydrated with all the OOB package images, install each desired ML package you want by performing the following:
- Download the ML package's corresponding metadata json file for the desired version using the table provided in the online documentation matching your base Automation Suite version. For example, the following table is provided for 2023.4.2 here and looks like this
* Ensure right-clicking on the 'Here' link and using the 'Save Link As' option from the context menu as shown below
- Navigate to the AI Center Main Projects Page and click the kebab (3 dots) menu icon in the top-right corner and select the "Out of the box packages" menu option as show in the example below
Note: This menu option is only visible within the offline installation. The online installation does NOT include this option as shown below.
- Using the 'Import Package' option, navigate to the downloaded metadata json file from above and hit select
- Observe the name of the ML package displayed, along with the 'Create' button in the action bar below. Hit 'Create' to finalize the package installation as shown.
- Now, within an existing or newly created project, observe the ML skill package displayed within the ML Packages page to use within your ML Skills
* Continue repeating step 2 for all the packages wished to install.