This article explains on how to configure user-defined directory in Qlik Insight Bot and below are the steps,
Stop below QIB and QS Services.
Qlik Insight Bot Deployment Engine Service
Qlik Insight Bot Narrative Service
Qlik Insight Bot NLU Service
Qlik Sense Service Dispatcher
Engine Service (IIS web Service)
Management Service (IIS web Service)
NLP Service (IIS web Service)
Management Console (IIS web Service)
Copy Qlik Insight Bot folder from C:\ProgramData\Qlik Insight Bot to your desired directory/drive. e.g. D:\ABC
Change default configuration directory to your user-defined directory in below files:
Update ProgramDataPath value with user-defined directory in C:\Program Files (x86)\Qlik Insight Bot\Qlik Insight Bot Configuration\Qlik Insight Bot Configuration.exe.config
Update UserDefinedDirectoryPath value with user-defined config directory in C:\Program Files (x86)\Qlik Insight Bot\Qlik Insight Bot Deployment Engine Service\Qlik Insight Bot Deployment Engine Service.exe.config
Update SYS_XML_FILE_PATH, LOG_PATH, MAP_ENTITY_FILE_PATH, CERT_PATH value with user-defined config directory in C:\Program Files (x86)\Qlik Insight Bot\Qlik Insight Bot Narrative Service\config.json
Update CERTIFICATE_PATH, MODEL_DIRECTORY, NLU_LOG_PATH value with user-defined config directory in C:\Program Files (x86)\Qlik Insight Bot\Qlik Insight Bot NLU Service\config.json
Update UserDefinedDirectoryPath value with user-defined config directory in C:\inetpub\wwwroot\Engine Service\Web.config
Update UserDefinedDirectoryPath value with user-defined config directory in C:\inetpub\wwwroot\Management Service\Web.config
Update ProgramDataPath value with user-defined config directory in C:\inetpub\wwwroot\NLP Service\Web.config
Update ProgramDataPath value with user-defined config directory in C:\inetpub\wwwroot\Portal\Web.config
Update QIBPath:Path value with user-defined config directory in C:\Program Files\Qlik\Sense\QibWebchatService\appsettings.json
Give full control (read/write) permission to IUSR and IIS_IUSRS in the user-defined config directory e.g. D:\ABC\Qlik Insight Bot
Start below QIB and QS Services.
Qlik Insight Bot Deployment Engine Service
Qlik Insight Bot Narrative Service
Qlik Insight Bot NLU Service
Qlik Sense Service Dispatcher
Engine Service
Management Service
NLP Service
Management Console (Portal)
Once all services are started, try Load, Reload and Train operations from QIB management console and try asking few questions in QIB Webchat to ensure everything is working as expected or not.
Environment
Qlik Insight Bot (any version)
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.