11 Gen AI Document Analyzer Service Installation

This topic describes the systematic instructions to install Gen AI Document Analyzer Service Installation service.

Gen AI document analyzer service (cmc-ml-genai-doc-analyzer) is an optional component that is shipped with various products that utilizes Generative AI for managing documents.

Prerequisite

Follow the below steps to setup the prerequisites of Gen AI service.
  1. The Operating System version should be same as product i.e., Oracle Linux 8.

    Note:

    Other Oracle Linux OS are not supported due to incompatibility with gcc++ v17 compiler.
  2. gcc++ compiler v17

    Note:

    This compiler is required for tesseract.
  3. Install the following OS packages:
    1. yum install zlib zlib-devel
    2. yum install libffi-devel openssl-devel
    3. yum install bzip2 bzip2-devel
    4. yum install poppler-utils
    5. yum install xz xz-devel xz-libs
    6. yum install mesa-libGL
    7. yum install mesa-libgbm
    8. yum install mesa-libglapi
    9. yum install sqlite-devel
    10. yum install openblas
  4. Python Version: 3.9.5
  5. Tesseract: 5.4.1
  6. Document Verification Service: This is provided as part of the distribution.

To run the Gen AI document analyzer service; Python, Tesseract, and Document Verification Service must be installed. Refer to Document Verification Framework section in Common Core Services Installation Guide to manually install these packages.