11.1.3 Configuration Update

This topic provides the information to update the configurations.

The following are the two configuration files provided:
  1. system-config.json: This file contains the internal settings of LLM and the configuration details. This should not be changed unless otherwise specified.
  2. logging-config.json: This file is used for changing the logging settings. Use the default setting unless otherwise specified.

system-config.json:

system-config.json contails the configuration details that are required to be changed by the user for each installation. Refer the below table for the fields and description of the fields:

Table 11-7 application-config.json

Parameter Description
APPLICATION_NAME cmc-ml-genai-doc-analyzer
WORKING_DOCUMENT_DIR Path to local folder where trained files will be stored. User should have Read-Write permissions to this folder.
OCI_CONFIG_FILE Path to oci_config.txt file. You can get the file path after completion of OCI Credentials and configuration explained in OCI Credentials and Configuration Setup.
EUREKA_CLIENT_SERVICE_DEFAULT_ZONE Address of Eureka for Service Discovery that will be used to connect with DMS service (cmc-document-services).
DMS_DOWNLOAD_ENDPOINT

Endpoint of cmc-document-services used for downloading from DMS.

For Example: "/cmc-document-services/service/v1/documents?documentRefId="

DMS_UPLOAD_ENDPOINT

Endpoint of cmc-document-services used for uploading to DMS. DMS service is accessed by using this endpoint.

For Example: "/cmc-document-services/service/v1/documents"

DMS_SERVICE

Name of the DMS (cmc-document-services) service to locate on eureka.

For Example: cmc-document-services

SSL_CERTIFICATE Path to your SSL Certificate (.crt file)
SSL_KEY Path to your SSL Key (.key file)
DOWNLOAD_CONFIG_ENDPOINT_NAME

Endpoint to retrieve the configuration settings by the Gen AI Admin service.

For Example: cmc-ml-genai-admin-services/genai/loadConfiguration

GENAI_CONTEXT_PATH

Application name of GenAI Admin service to locate on eureka.

For Example: “CMC-ML-GENAI-ADMIN-SERVICES”

OBRH_DISPATCH_ENDPOINT

Dispatch endpoint is the single entry-point for invoking the routes configured in Oracle Banking Routing Hub.

For Example: “/cmc-obrh-services/route/dispatch”

OBRH_CONTEXT_PATH Application name of OBRH service to locate on eureka.

For Example: “CMC-OBRH-SERVICES”

Note:

The following fields will be fetched from the cmc-ml-genai-admin-services;
  • LLM
  • LLM_API_KEY
  • EXTRACTOR_TYPE
  • DELETE_AFTER_TRAINING
  • USE CLASSIFIER
  • CLASSIFIER MODEL ID