[ACS-8815] Support for toggling Knowledge Retrieval in docker image (#4134)

This commit is contained in:
jacekpluta
2024-09-23 15:24:51 +02:00
committed by GitHub
parent d9c8ba702d
commit 3d25eb7beb

View File

@@ -155,3 +155,8 @@ if [ -n "${APP_CONFIG_PLUGIN_CATEGORIES}" ]; then
echo "SET APP_CONFIG_PLUGIN_CATEGORIES"
sed -e "s/\"categoriesEnabled\": [^,]*/\"categoriesEnabled\": ${APP_CONFIG_PLUGIN_CATEGORIES}/g" -i "$APP_CONFIG_FILE"
fi
if [ -n "${APP_CONFIG_PLUGIN_KNOWLEDGE_RETRIEVAL}" ]; then
echo "SET APP_CONFIG_PLUGIN_KNOWLEDGE_RETRIEVAL"
sed -e "s/\"knowledgeRetrievalEnabled\": [^,]*/\"knowledgeRetrievalEnabled\": ${APP_CONFIG_PLUGIN_KNOWLEDGE_RETRIEVAL}/g" -i "$APP_CONFIG_FILE"
fi