Connecting to the model on IBM Cloud

After you enable the AI assistant feature in IBM Software Hub and store your credentials, you can connect to the model on IBM Cloud.

Who needs to complete this task?
To connect to the IBM Software Hub AI assistant, you must have one of the following permissions:
  • Administer platform
  • Manage configurations
When do you need to complete this task?
Complete this task if you want to connect the IBM Software Hub AI assistant to the model that is hosted by IBM on IBM Cloud.

Before you begin

You must complete the following tasks before you can connect to the AI assistant on IBM Cloud:
  1. Enabling the IBM Software Hub AI assistant feature.
  2. Storing your IBM Software Hub AI assistant credentials
  3. Installing OpenSearch for the IBM Software Hub AI assistant

About this task

You can connect directly to the IBM Software Hub AI assistant, or you can route requests to the AI assistant through a proxy server. If you decide to use a proxy server, ensure that the AI assistant URL is in the proxy server allow list.

Procedure

To connect to the IBM Software Hub AI assistant:

  1. Log in to the web client.
  2. Switch to the IBM Software Hub experience, if needed.
  3. From the navigation menu, select Configurations and settings.
  4. Click AI assistant setup.
  5. Select IBM-hosted
  6. In the Model URL field, enter the URL from the support ticket that you opened.
  7. In the Project ID field, enter the ID from the support ticket that you opened.
  8. Optional: If you want to route requests to the AI assistant through a proxy server:
    1. In the Proxy URL field, enter the proxy server URL.
    2. If your proxy server requires authentication, enter the username and password of a user that can authenticate to the proxy server.
  9. Click Save.
  10. Refresh your browser.

Results

The AI assistant icon (Image of the AI icon) is available in the toolbar. You can start asking the AI assistant questions.
Note: If you routed requests to the AI assistant through a proxy server, it can take several minutes for the proxy configuration to take effect.

If you want the configuration to take effect sooner, an instance administrator can run the following command to restart the platform-ai-assistant-broker deployment:

oc rollout restart deployment/platform-ai-assistant-broker \
-n ${PROJECT_CPD_INST_OPERANDS}