10

ChatGPT-like Functionality in IBM Watson Assistant

 1 year ago
source link: https://heidloff.net/article/chatgpt-like-functionality-in-watson-assistant/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
ChatGPT-like Functionality in IBM Watson Assistant

ChatGPT-like Functionality in IBM Watson Assistant

Posted Feb 28, 2023
Preview Image
By Niklas Heidloff
2 min read

Generative foundation models like ChatGPT can handle fluent conversations pretty well. IBM Watson Assistant can be extended with NeuralSeek to search and provide answers from enterprise knowledge bases like IBM Watson Discovery.

This post shows a simple example scenario. Watson Discovery was used to read content from heidloff.net, NeuralSeek is connected to Watson Discovery and Watson Assistant uses NeuralSeek to perform searches.

Let’s look at the description of NeuralSeek:

NeuralSeek is an AI-powered answer generation engine. It works by taking a user question and assembling a corpus of backing information from a KnowledgeBase like ElasticSearch or Watson Discovery. Neuralseek uses this corpus to conduct just-in-time training to generate a conversational answer to the user question.

Setup

These IBM Cloud services are needed:

First Watson Discovery is configured to read the content from my blog.

Next an action is created based on a template to invoke NeuralSeek.

Additionally the ‘no action matches’ fallback functionality is enabled which points to the NeuralSeek action. In this configuration Watson Assistant is basically used as passthrough.

Curation

As there are several blog posts about Watson NLP, I’ve asked the following question:

“What is Watson NLP?”

The first answer is on the left screenshot at the top of this post. Most parts of the answer are correct and fluent, but NeuralSeek thought that I am the developer of Watson NLP. In foundation models this phenomenon is called Hallucination.

There are a couple of ways to fix this. NeuralSeek provides configuration options for ‘Misinformation Tolerance’ and ‘Minimum Confidence’.

Since these options didn’t work in my case, I had to manually improve the answers. NeuralSeek comes with an easy-to-use dashboard.

I’ve corrected the two generated answers. Also note that other similar questions/prompts are generated as well.

After this, NeuralSeek answered with the correct text as displayed in the right screenshot at the top of this post.

Transparency

Another feature I really like is the ‘seek’ dashboard which provides transparency where which parts of the answers come from. In the following sample the answer was generated based on different blogs and the manual improvement.

image

Faster Authoring

To leverage Watson’s extended capabilities, for example variables or business logic invocations, the actions from NeuralSeek can be exported and imported. This is also helpful when creating new Watson Assistant skills since conversation flows can be authored faster.

image

Imported utterances:

image

Imported answer options:

image

What’s next?

To find out more about NeuralSeek, check out the documentation and watch this video.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK