Enabling the IBM Software Hub AI assistant feature

To use the IBM Software Hub AI assistant service, you must enable the AI assistant feature in IBM Software Hub.

Who needs to complete this task?
Instance administrator To enable the IBM Software Hub AI assistant feature, you must be an instance administrator.
When do you need to complete this task?
Complete this task if you want to set up the IBM Software Hub AI assistant.
Repeat as needed If you have multiple instances of IBM Software Hub, complete this task for each instance where you want to enable the AI assistant feature.
Important: You must purchase IBM Software Hub Premium to use the IBM Software Hub AI assistant.

About this task

The IBM Software Hub AI assistant is not enabled by default. When you enable the AI assistant feature, IBM Software Hub starts the broker service (platform-ai-assistant-broker-svc). IBM Software Hub uses the AI assistant broker service to:
  • Send questions to the gen AI agent on IBM Cloud
  • Submit API calls to retrieve metrics about your environment

Procedure

To enable the AI assistant feature:

  1. Log in to Red Hat® OpenShift® Container Platform as an instance administrator.
    ${OC_LOGIN}
    Remember: OC_LOGIN is an alias for the oc login command.
  2. Set the platform_assistant_enabled parameter to true in the zenservice custom resource:
    oc patch zenservice lite-cr \
    --namespace=${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec":{"platform_assistant_enabled": true}}'
  3. Wait for the ibm-zen-operator to run a reconcile loop. This process can take up to 1 minute to complete.
  4. Confirm that the PLATFORM_ASSISTANT_ENABLED parameter is set to true in the configmap product-configmap:
    oc get configmap product-configmap \
    -n ${PROJECT_CPD_INST_OPERANDS} \
    -o json | jq '.data.PLATFORM_ASSISTANT_ENABLED'