Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Dialogflow bot framework vs Rasa nlu bot framework?

What is the difference between Dialogflow bot framework vs Rasa nlu bot framework ?Any other open source frameworks available in market with NLP support?

like image 363
balaji Avatar asked Nov 20 '17 09:11

balaji


People also ask

Which is better rasa or Dialogflow?

Rasa recently added a Training Data Importers option to import data of different formats and from different sources. In Dialogflow, we do not have the option to import or use training data in any format. Training Tool in Dialogflow accepts only a single line per phrase as training data. You will need to create a .

What is the difference between Rasa NLU and Rasa core?

Rasa NLU: A natural language understanding solution which takes the user input and tries to infer the intent and extract the available entities. Rasa Core: A dialogue management solution tries to build a probability model which decides the set of actions to perform based on the previous set of user inputs.

Is Dialogflow a framework?

Dialogflow is a feature-rich framework, but if using Google tools represents a significant change for your organization, consider looking elsewhere.

What is Rasa NLU?

Rasa NLU (Natural Language Understanding): Rasa NLU is an open-source natural language processing tool for intent classification (decides what the user is asking), extraction of the entity from the bot in the form of structured data and helps the chatbot understand what user is saying.


1 Answers

I think I can answer this without any bias, granted that overtime the answer will grow outdated as the two services evolve.

Cliffnotes version:

Dialogflow is a complete closed source product with a fully functional API and graphical web interface. Rasa (NLU + Core) are open source python libraries that require slightly lower level development. Both try to abstract some of the difficulty of working with Machine Learning to build a chatbot.

As of writing this however here is my comparison:

DialogFlow

  • Is a mostly complete tool for the creation of a chatbot. Mostly complete meaning that it does almost everything you need for most chatbots.
  • Specifically it can handle classification of intents and entities. It uses what it calls context to handle dialogue. It allows web hooks for fulfillment.
  • One thing it does not have that is often desirable for chatbots is some form of end user management.
  • It has a robust API, which allows you to define entities/intents/etc either via the API or with their web based interface.
  • Formerly known as API.ai before being acquired by Google.
  • Data is hosted in the cloud and any interaction with API.ai require cloud related communications.
  • Cannot be operated on premise.

Rasa NLU + Core

  • To get close to the same level of fucntionality as Dialogflow you have to use both Rasa NLU and Rasa Core. Rasa NLU handles projects/intents/entities whereas Rasa Core handles dialogue and fulfillment.
  • Rasa doesn't provide a complete open source GUI leaving most of your interactions with NLU in JSON or markdown. And Rasa Core requires direct python development to customize your bot.
  • Also does not directly offer any sort of user info management.
  • The Rasa team does not provide hosting (at least outside of their enterprise offerings) and you will be responsible for hosting and thus ownership of the data.
  • Can be operated on premise.

As far as other open source frameworks, I would say that it is very likely that most chatbot frameworks right now are built on a variety of open source tools, with some proprietary add-ons. So you can always start from the lower level open source tools like MITIE or spaCy.

Update:

The Smart Platform Group (of which I am a member) recently released a product in between Rasa NLU/Core and Dialogflow called Articulate.

Articulate is a full-featured bot framework, based on Rasa NLU, that lets you build Natural Language Agents effortlessly.

  • Uses Rasa NLU for understanding and custom context based code for dialog. This makes it work closer to how Dialogflow does than Rasa Core.
  • HTTP API for creating intents, entities, and interacting with agents.
  • GUI similar to Dialogflow that is fully open source.
  • Data and interface can be hosted in the cloud or on premise.
like image 122
Caleb Keller Avatar answered Sep 18 '22 17:09

Caleb Keller