Facebook Messenger bot - looking for simple NLP engine - node.js

I need a very simple NLP engine that can do the following:
Tell if the user answered Yes or No (in any way - including variations)
Tell if the user has just said Hello (including all variations like Hi, hi, hey, helllooo, hey there, etc...)

The built-in NLP feature uses wit.ai, and is about as simple as it gets. When you enable it, it automatically includes an nlp object with every message.
https://developers.facebook.com/docs/messenger-platform/built-in-nlp

Related

Azure bot Languages

I have a hard time understanding how I create a bot in a language other than English. Following the documentation here, I'm just supposed to select the language in creating a new BOT, but I do not have such an option.
I'm probably missing something.
The final goal - to create a Hebrew-speaking IVR for dynamics 365 omnichannel voice.
The Select the language you want to use in step 2 is referring to programming language. You're being asked to choose between C# and Node in the selector above the list of templates.
The instructions for how to create a multilingual bot are further down in that document. You just haven't gotten far enough in the document yet. After following the steps for building a basic bot, the document then shows you how to update language settings, and from there you can follow the rest of the document to add support for your language.
The Composer application itself will only display in English, but you can author bot responses in other languages.

How to build python telegram bot?

I'm learnning python and i want to develop my self.
I want to do this using telegram bot how can do it?
For example i want to build un instagram video downloader. could you help me how to do that , from where i shall start , which library shoud using and so on.
I found a simple library it's name : telepota.
it's not what i wanted exactly and not famous but it looks like better for one who learn python and want to practice more.
The library founder said that:
This project aims to simplify telegram bot development using higher level classes and functions which are easy to understand and implement. I took over development and maintenance from nickoala who was the author of this beautiful project.
Then if some one want to try it , this is the link in github:
https://github.com/codingsett/telepota.
if someone have another libraries or ideas , i'll be thankful.

How to capture raw text in dialogue flow in google actions?

I am trying to make a simple app like Quora using Actions on Google where anyone can ask a question. I am trying to capture raw text in Dialogflow, but I'm not able to do that. I am trying using actions_intent_TEXT but the raw text isn't going there. How can I do this?
Your action, which is activated by a user's intent needs to accept one or more parameters that the user provides. That parameter can then be passed to the fulfillment for the action (which might be a Firebase function, or something else.)
As the first commenter said, you seem to need a brief intro into some of this lingo. I'd recommend you look at the terminology provided by Google.
If you want a step-by-step tutorial, this is a good one to start with.

How to delete learned data?

After learning database - A, I want to delete learned things once and then learn database - B.
However, in the method I tried, I can not erase what I learned once.
I will learn both database - A and database - B.
What you want to hear
ยท How to delete learned data
I upload chatterbot to web using django.
Use python 3
I am a Japanese and I use a translation site, so it may be a bit confusing question.
To delete all dialog data (statements, responses, and tags) from a chat bot's database, the drop method can be called on the storage adapter for the ChatBot instance.
Here is a brief example:
from chatterbot import ChatBot
chatbot = ChatBot('Example Bot')
chatbot.storage.drop()
In addition to the programmatic method of deletion, because you are using Django, you might also find the Django Admin convenient for deleting and modifying individual responses. More information on the Django admin can be found in their documentation.
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/

how to write own logic without using qnamaker

I am still trying to understand Chatbots. Currently i have already made chatbot which is integrated in skype. I have Sharepoint online where user search for FAQ. If they dont find then they ask BOT which sends request to LUIS and Qnamaker.
Qnamaker then sends response back by looking it into its database. I upload FAQ from sharepoint to Qnamaker using sharepoint workflows. But i want to write my own logic and get rid of Qnamaker.
What are ways to do it? Any good tutorials? I also wanted to know how the flow happens. For example if we dont use Qnamaker then we fire queries in sharepoint based on what user asked? I dont understand how i can fire queries in sharepoint if user makes typo then we will not get anything from sharepoint. So any tips on how to implement this without using qnamaker is highly appreciated?
The FAQ bot generator is a subset of the main Microsoft bot framework. You should do some research on the Microsoft Bot Framework. The link above takes you right to the documentation overview of the bot framework and from there you can get into developing one. They have links to a few sample projects as well as a large number of code snippets within some of the article explanations. It has a full setup guide that will walk you through the initial setup so it should be easy to get a basic echo bot running, but if you are not a programmer you should stick to the FAQ generator.
I suggest you use either node.js or c# to develop the bot since these are directly supported by the framework. I am personally using c# to build my bot from the ground up. The purpose of mine is to be used within a customer facing android/ios app that will help with questions, checking the status of different things, and even paying bills.
Just remember you will need to manually set up your cloud hosting. I host mine in azure alongside a web interface I built for it (you can build the website inside your bot if you are using c#, just replace the default.htm file in the web.config with the main page of the interface).

Resources