2.2 Configuration Update
This topic provides the information to update the configurations.
The following are the three configuration files provided:
- application-config.json: This file contains the configuration details that are supposed to be changed by the user for each installation.
- system-config.json: This file contains the internal settings of LLM. This should not be changed unless otherwise specified.
- logging-config.json: This file is used for changing the logging settings. Use the default setting unless otherwise specified.
application-config.json:
Refer the below table for the fields and description of the fields:
Table 2-1 application-config.json
Parameter | Description |
---|---|
APPLICATION_NAME | Application name of the service to register on eureka. |
LLM | Name of the LLM that you want to use. (openai, or cohere, or gemini). If
application needs to be use multiple LLM’s then install same app
for each LLM and change this value to reflect each LLM.
Note: One LLM can be used in one instance only. |
LLM_API_KEY | The valid API Key of above mentioned LLM. |
USE_CONFIG_LLM_API_KEY | Whether the API key should be used from this application config or not. |
EXTRACTOR_TYPE | Whether you want to use OCI Document Understanding Service or the OFSS Document Verification Service for extraction |
DELETE_AFTER_TRAINING | Whether the documents, trained files should be deleted post training or not. |
WORKING_DOCUMENT_DIR | Path to local folder where trained files will be stored. User should have Read-Write permissions to this folder. |
USE_CLASSIFIER | Whether or not to use the LLM based classifier for classifying the documents. |
CLASSIFIER_PARENT_DIR | Path to the parent directory for the documents required to use the classifier. Needed only if USE_CLASSIFIER is set to yes. |
CLASSIFIER_MODEL_ID | Model ID of the custom trained classifier model. Needed only if USE_CLASSIFIER is set to yes. |
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 (cmc-document-services) service. |
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.
For Example: /cmc-document-services/service/v1/documents DMS service is accessed by using this endpoint. |
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) |
Parent topic: Application Installation