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
-
Navigate to Settings > Integrations.
The Integrations page is displayed.
-
Click New Integration icon
.
The New Integration pane is displayed with the Overview and
Configure tabs.
-
Perform the following steps in the Overview tab:
-
Enter a name to identify the integration in the Name
field.
-
Select Watson X in the Provider list.
-
Select the API key in the Credentials list.
-
Enter the API Key in the API Key field.
-
Click Next.
The Configure tab is displayed.
-
Perform the following steps in the Configure tab:
-
Enter the API Endpoint URL in the API Endpoint field.
-
Enter the release version of the IBM watsonx.ai model in the
Version field to specify the model to which DevOps Loop should
connect.
-
Select a Model from the list.
-
Enter the project ID in the Project ID field.
-
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.
-
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.
-
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.
-
Specify the minimum number of tokens in the Min Token for the
response.
-
Specify the maximum number of tokens in the Max Token for the
response.
-
Click Save.
Results
You have integrated IBM watsonx with DevOps Loop.