I just finished an demo project posted by Christophe Laleveé on
developerWorks. It's called 'Build an enhanced IT help desk chatbot on
IBM i with Watson Conversation' and the link (today) is

In a nutshell, it's a chatbot that runs on Node-Red. It listens to a
Slack channel, sends questions posted there to Watson Conversation,
which extracts out the 'intent' of the question. Watson sends the
'intent' back to Node-RED, which then takes appropriate action.

The demo handles:
1) Lost/forgot password. Sends a text message with an authentication
code, resets the *USRPRF to a one-time password.
2) Can't connect. Similar flow to above.
3) CPU load. Reports back the CPU%.
4) Disk usage. Reports back the %used.

One of the actions is to interact with DB2 by forming SQL statements to
msg.payload.context.userprf + "')"

It was pretty easy to set up, and strangely easy to modify. My first
change was to add a new intent in Watson to let Watson work out if the
user needs to know how / what to type in order to get help. An empty
chat box can be intimidating. I'd say it took me about 2 minutes to add
a new intent and dialogue to implement that, and it was available in
real time. No compile / deploy, just add the intent and it's there.

Most of the demo can be exported as JSON text / code, but there is some
set-up that needs a GUI. My decades as an RPG programmer are yelling at
me for not having /all/ the source code in my possession, but I'm trying
to get over that feeling.

IBM i 7.3, TR3.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.