How do you use SetAlert with the Node.js Alex Skill SDK? - node.js

I am a ASK n00b and I want to create a skill, that when activated will send messages to the user on a schedule. Later I want to pause/resume that schedule. I am currently hacking the Node.js fact example to learn the ropes, but could use some veteran knowledge and help.
Examples are the preferable response.

Sending messages "on a schedule" is currently not supported by ASK.
This feature has been announced but there is no access yet.
https://www.engadget.com/2017/05/16/amazon-echo-push-notifications/

Related

Who Bot for Microsoft Teams (Who knows about...)

Added Who Bot in MS Teams but am unable to find a reliable and definitive answer on how I can "teach" the bot to answer the questions "Who knows about ..."
Some sources point to updating Delve account with skills, some say it will get that information from chat discussions in Teams... nothing works (after almost a month of the bot being added).
So, how can I feed the Who Bot information so that it can answer that specific question - "Who knows about a topic"
Thank you.
I was talking to Microsoft about this. After weeks of back and forth, this is their conclusion:
Thank you for your time over the phone today.
As regards your concern, the Who Bot feature needs a different
expertise to feed data for the “Who Bot” to fetch results for the
queries on “who knows about”.
This information needs to be fed into a text file with a scripting
expert and then integrated into the Who Bot connector. This is where
"who knows about" fetch its data from.
Since we are only a break fix issues support team and do not work on
scripting, this is out of our support boundaries.
Ref articles and work items:
• https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/12.customQABot
Please, let me know if you have further concerns about this.
Thank you for choosing Microsoft support
Their solutions was "please code a bot to fix our bot"
You can create a question answering project from your own content, such as FAQs or product manuals.
This bot has been created using the Bot Framework SDK, it shows how to create a bot that uses Cognitive Services' question answering feature.
Question answering lets you to build, train and publish a simple question and answer bot based on FAQ URLs, structured and unstructured documents, or editorial content in minutes. In this sample, we demonstrate how to use question answering to answer questions based on an FAQ text file used as input.
Ref Sample-https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/csharp_dotnetcore/12.customQABot

NooB Alert NodeJs and Slack Bot build. Need Advice

Prewarning: I am a noob with development, I started doing web design when I retired from the Marines about 3 years ago. I specialized in Intelligence and Tactics, so not a computer user during that career. Fast forward to Today:
I work as an Exchange admin and migration specialist with GoDaddy, I have been through several Webdesign courses and learned a decent foundation of html/css/php however JavaScript, Nodejs, Java, Python, C++, and C# are all still things I am working on.
My issue: My lead wants to have a bot built that essentially posts messages in the #general group (I learned how to do this and actually setup a nodejs server within my test hosting server # GD and have a Joke bot running in my slack WS). The tricky part that I have been scratching my brain on is how to use an web API that GD has to monitor our call que, hold times, and agents online. I need to figure out how to get the bot to post a message regarding certain triggers automatically(exp. Hold time exceeds 10mins). I can not figure out whether to use a webhook, eventListener, or a direct bot auth'd into the GD api like my joke bot that links to chuckNorris jokes.
I appreciate all the comments truly, I have thick skin and know that I am late to the game on development. I want to build this for the experience and to integrate with slack, my end goal would be more projects to eventually become a Dev within GD.
I have a few thoughts that might help you.
Regarding these holdtimes, agents online, and call queues, think of these as events. Whenever these events occur, they should fire a payload (HTTP request) to your service that then posts messages to slack. I think you might need a slack bot token for this.
Many APIs have this functionality under webhooks. You provide them the URL to the endpoint your developing and theres usually a toggle to tell them that you want to start accepting events.
To get going on your service/bot, I'd recommend starting with learning about what these webhook event payloads will look like in terms of structure so that you can parse it.
If you have more detailed questions feel free to comment or message. Happy to help. I've written a slack bot or two.

Add more small talk options into Dialogflow

I am utilising the small talk options within the chatbot that I currently use, however, I have noticed a couple of common questions which seem to be asked which fit into small talk, such as "What is your name?" and "What does you name mean?".
Is there any way in which I can add to the list of small talk questions? If not, how can I add these questions in with their responses? My issue is that I believe that you shall need a new intent for every question that gets asked? Any help would be appreciated.
Using a new intent for every question asked (or at least different versions of the same question with one answer) is the standard Dialogflow design and isn't really a problem.
The small talk functionality is just a big list of questions and answers in separate intents - you can see by looking at the pre built small talk agent through Prebuilt Agents -> Small Talk -> Import.
Therefore I would suggest to simply do it this way.
Initially, small-talk option had this issue which you specified here where users were not able to add more phrases to existing questions or add more questions.
To solve this issue, DialogFlow has introduced Small Talk Pre-built Agent.
There are approx 86 pre-built intents in the small-talk agent.
You can add/modify the phrases in those intents,
You can add/delete intents
You can modify the responses of these intents
To use small-talk agent, go to pre-built agents option in left menu, go to Small Talk agent, then import it.
Hope it helps.
I will suggest to use QnA maker service to achieve the functionality. Basically you have to create a QnA maker service and have to integrate to Bot. It will resolve your query. Please let us know if you need more information .
Regards,
Tharak

Is there a way to push content to Cortana without user initiation?

Before anyone marks this question as a dupe, let me say I am aware of this question from 2015. But Microsoft has done a lot of work on Cortana in the last two years so I thought it might be worth asking again. Please forgive me if this is not proper etiquette and feel free to educate me on how I should have handled asking the quesiton again.
I am currently writing a new skill for Cortana using, of course, the Microsoft Bot Framework. I've gotten everything registered and working except my actual interaction with Cortana. For this, I need Cortana to be able to initiate a conversation without the user prompting it. In 2015, this was not available. Is there currently a way to do so in the latest iteration of the platform? I can't seem to find it but I could be simply missing something subtle.
The Cortana Skills kit currently does not support proactive notifications, however it is on the feature request list and will be considered.

Create a REST-ful api in Node.js for notifications

I'm a newbie in Node.js and after doing initial learning on Node.js, I find it rather confusing to find out any best practices. My project requires to build a real-time notification system such that, when something happens at the server side or any of the connected clients, a notification can pop up at all connected clients. I couldn't find any official recommendations on what's the best approach and tools to take. I saw there are various frameworks written in Node.js seem able to do the job, but I'm hoping some one can give me some direction.
Thank you in advance.
Start with Angularfire if you want to code less.
You can create real-time apps without a backend part like so: https://github.com/tastejs/todomvc/blob/master/examples/firebase-angular/js/app.js
Note, this is a Q&A site. Ask a question next time. "Please direct me" is not allowed to ask here.

Resources