App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
 View Only

Exploring AI watsonx Code Assistant in IBM App Connect Enterprise Toolkit (ACE 13.0.4.0 Toolkit and above)

By Somnath Ghosh posted 4 hours ago

  

The ACE Toolkit 13.0.4.0  or 13.0.5.0 provides a watsonx Code Assistant chat experience. The feature utilizes a watsonx Code Assistant service instance running on IBM Cloud. Once you have a provisioned instance and an IBM Cloud API Key for access purposes, this can be provided for your ACE Toolkit installation without the need for any further installations.

I have used ACE 13.0.5.0 Toolkit for this test.

An interactive chat window is provided which help on below items:

·       Generate code suggestion

·       Explain code and applications

·       Document code

·       Generate unit tests

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A close-up of a text

AI-generated content may be incorrect.A white background with black text

AI-generated content may be incorrect.

When you click on the “Login with your API Key” you will get below prompt where you must provide the API key. The instructions that how you will get the API key from IBM cloud is clearly present in the link below. You can get that in toolkit also this link.

https://cloud.ibm.com/docs/watsonx-code-assistant?topic=watsonx-code-assistant-cloud-setup-wca

A screenshot of a computer security

AI-generated content may be incorrect.

Next, you go to the IBM cloud. Make sure you have proper account type. This option was not present on some free account type. In that case, please update our account accordingly. In this case I updated my IBM cloud account to “Pay-As-You-Go” type.

Catalog - IBM Cloud

A screenshot of a computer

AI-generated content may be incorrect.

Guess what, I received a 200$ credit for the first time.

A screenshot of a computer

AI-generated content may be incorrect.

Then provision the instance as per your requirements. In this case I provision the free pricing one for my POC. I was sitting in the USA when I did this POC. When I provide free pricing one in Sydney (Australia), I face issue after adding the API key in toolkit. Later I update that to “Dallas (us-south)” location.

Steps are very simple, please follow the suggestion and you can easily provision the deployment space for the Watson code assistant.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Then create the API key.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

As I mentioned earlier, the above few screenshots are taken when I tried with “Sydney” location. Later I created new Watson instance in Dallas (us-south) and deleted the Sydney one. So above screenshots you may not see the “IBM watsonx Code Assistant-37” name, you may see “IBM watsonx Code Assistant-qe” name.

Now, after I added my API key in toolkit I see below chat screen in my ACE toolkit. Then I asked few random questions, and it gave answers on those.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.


0 comments
4 views

Permalink