3

When user asks a question to Watson, it should use AI to decouple the question and call respective API which handles retrieving data from database (SQL).

For example:

  • I have list of movies, actors, no of times each movie is watched etc stored in rational database like SQL.

  • I have an API for getting the actors in the movie(which quesries the database).

Suppose if a user asks Watson "give me list of all actors in the movie XXX". Watson should call API which returns the response back.

Is it possible to perform an action like this with IBM Watson?

1 Answers1

0

You will need to do this in your application layer. Within the conversation you can tell your application about such a request by using the context.request. see How to make Watson Conversation Api Invoke a web Application Url when User Enters an Input?

Community
  • 1
  • 1
Dudi
  • 2,340
  • 1
  • 24
  • 39