This is a quick tutorial to setup a very simple chatbot with Telegram and RedBot.
First of all install Node-RED
sudo npm install -g node-red
This is a quick tutorial to setup a very simple chatbot with Facebook Messenger and RedBot.
There are few Node-RED nodes for the NetAtmo weather station, most of them return data of the sensors as time series.
I needed something simpler for my chatbot, a way to get fetch all current values from all sensors, something like this
Working with chatbots it’s sometimes useful to parse and store the user response somewhere.
In RedBot there’s the chat context, it’s a volatile memory space where it’s possible to store variables related to the current chat user, for example consider…
Several months ago I started working on Appcelerator Titanium, mainly in Javascript, the same language as the previous position but with a little difference: the IDE now takes 1–2 minutes to compile while on the web re-starting the project is just a matter of hitting the…
With RedBot is not possible to track conversation with an external analytics platform like Dashbot.io:
Talking with a collegue of mine I came up with this solution about organizing the code in NodeJS+Express using middlewares.Consider this example in which we have a simple page that performs two queries and shows the result in a template.Since everything is asynchronous, we chain in two…
Callbacks are a nice way of Iversion of control, but are even more powerful with deferred objects.Basically callbacks are a way to pass back the control from a called function, the deferred/promise just do the opposite: it returns the control the called function.
Running a chat bot requires some caring, in particular you’re never done training it.
A good habit is to inspect the chat bot log searching for user sentences that were not recognized by the bot and then the parsers (Listen Node, RiveScript…
Listen Node
RiveScript
These were the top 10 stories published by JavascriptJedi; you can also dive into yearly archives: 2011, 2012, 2013, 2016, and 2017.