Configuring IBM watsonx integration

You can integrate the IBM watsonx AI service with HCL DevOps Loop to establish a connection and use Loop Genie services for enhanced automation and AI capabilities.

Before you begin

You must have completed the following tasks:

  • Ensured that you have administrative privileges in DevOps Loop.
  • Ensured that you have details such as API Key, Project ID and Endpoint URL.

Procedure

  1. Navigate to Settings > Integrations.

    The Integrations page is displayed.

  2. Click New Integration icon.

    The New Integration pane is displayed with the Overview and Configure tabs.

  3. Perform the following steps in the Overview tab:
    1. Enter a name to identify the integration in the Name field.
    2. Select Watson X in the Provider list.
    3. Select the API key in the Credentials list.
    4. Enter the API Key in the API Key field.
    5. Click Next.

      The Configure tab is displayed.

  4. Perform the following steps in the Configure tab:
    1. Enter the API Endpoint URL in the API Endpoint field.
    2. Enter the release version of the IBM watsonx.ai model in the Version field to specify the model to which DevOps Loop should connect.
    3. Select a Model from the list.
    4. Enter the project ID in the Project ID field.
    5. Enter the string to be used to stop the generation of text by AI in the Stop Sequences field.

      For example, you can set "stop" or "end" as the stop sequence.

    6. Select a Decoding method from the list to control how the model generates output.
      The following options are available:
      • Greedy: Produces the most likely next token at each step for straightforward output.
      • Sample: Randomly selects from probable next tokens, resulting in more varied and creative responses.
    7. Set the Repetition Penalty slider to control how much the model discourages repeating the same tokens in its output.
      For example: A higher value, for example, 1.5, makes more different responses. A lower value, for example, 1.0, allows natural repetition of words.
    8. Specify the minimum number of tokens in the Min Token for the response.
    9. Specify the maximum number of tokens in the Max Token for the response.
    10. Click Save.

Results

You have integrated IBM watsonx with DevOps Loop.