Search code examples
tensorflowdeep-learningchatbotdialogflow-esrasa-nlu

Can API.ai/ RASA NLU be integrated with Tensorflow to make a chatbot


Below are the questions which are making me confused . Hope friends here will clear it.

  1. Both Api.ai and RASA NLU are libraries used for Natural Language Processing and Natural Language Generation ? Am i right

  2. Can we do NLU in Tensorflow so that we can perform all NLU + ML operations in Tensorflow itself?

  3. If i use Api.ai or RASA NLU for NLU purpose and how do i perform ML Operations with Api.ai or RASA NLU ? Can we build our own ML model and make it work with Api.ai or RASA NLU

Scenario

Suppose i just want to build a chat bot .

  1. I use API.ai or RASA NLU for NLU i.e to break input into intents and entities.

  2. Now i have to create my own ML model to train some sets of data which i will create using Tensor flow.

  3. How can i integrate these two to make it powerful ?

Thanks in advance


Solution

  • 1) As has been mentioned RASA NLU is a library and Api.AI is a service.

    2) YES! RASA now supports using TensorFlow as part of the pipeline.

    3) One of the nice things about RASA is that it lets you use the same API as Api.ai (Now Dialogflow), so you can use the same training data for both. However, I think your MUCH better off sticking with RASA over a service like Dialogflow.