Send Commands TO Cortana with VB.NET - cortana

I understand the concept of having Cortana launch apps, etc...BUT, is there a way to have my app send a command back to Cortana?
One idea is to have a batch for the start of the day:
Send to Cortana ("What is the weather forecast for today")
--wait command
Send to Cortana ("What is my schedule for today")
--wait command
Send to Cortana ("Read Headline News")
Just a thought on getting my daily updates without asking over and over.

Related

DiscordAPIError: Maximum number of application commands reached (100)

I'm currently creating a Discord bot that has 112 commands and I'm receiving this error:
Error code: 30034
Discord's daily command limit
On Discords Developer Portal's Documentation, it states that "There is a global rate limit of 200 application command creates per day, per guild".
So my question is: Is my bot currently limited to creating new commands through a daily limit? Do I just have to simply wait it out?
Or is my bot unable to create anymore slash commands.
I'm attempting to create a Discord bot that will eventually exceed 200+ commands.
Discovered that Discord only allows:
100 global CHAT_INPUT commands
5 global USER commands
5 global MESSAGE commands

Google Actions: Enter Scene without sending prompt

I made a Google Actions App which shall not sending prompts because I will send prompts with another application made with Unreal Engine.
So the problem is, if I enter a scene without sending prompt on enter I get the error: "Sorry, [GOOGLEACTIONSAPP] did not response at the moment. Try again in some minutes".
If I send a prompt the error did not appear.
So my question is, isn't it possible to enter a scene without sending a prompt?
But in development, why then is there a option to choose sending prompt or not?
Normally it totally makes sense to send a prompt, but like I said I handle prompts with my own unreal app, so there is no need to do it with google actions.

Gmail API, Python control center

I'm trying to create a control center with python. The objective is that everybody can see the mails received, the time that they where sent and the average reponse that is we are taking to respond. I can get the mails and the time, but not the average.
What shoud I do?

How does wakeword work in alexa voice service javaclient sample?

I found that there are some wording "wakewordAgentEnabled" found in alexa voice service javaclient sample but when I run the program and android companion app, it shows a "Listen" button, it works properly, but how to call the wakeword "Hey Alexa" instead of using the "Listen" button?
Actually, I would like to use the logic of wakeword in Android app, so no need to click a button.
Is the sample support wakeword?
Is it needed to work with the Kitt-AI snowboy together?
From what I understand (I work in the Alexa org at Amazon) the reason the Echo can respond to wake words ('Alexa' 'Amazon' and 'Echo') is actually hardware in the device that opens up the connection. In order to obtain this on another device such as an Android phone you would actually need to constantly be listening, converting speech to text, and validating text for the wake word which would be very resource intensive and a large power drain. To reduce that drain it is just a button to open the connection.

How to leave Voice mail using Twilio?

I'am trying to send recorded messages to phone numbers using twilio & salesforce. The problem i am facing that some times the call is going to Voice mail and the message is not getting recorded as the voice mail recording starts after a certain time. How can twilio manage to monitor that time and play the message after the voice mail starts recording.
Now i know that the voice mail recording system uses a beep before it starts recording. Can i use that DTMF tone to instruct twilio to start playing the recorded message.
Twilio developer evangelist here.
Twilio is able to do some, experimental, checking for answering machines such that it will only start playing after it hears a beep. You can see how to do this in the documentation here. Basically, you need to pass an ifMachine parameter of "Continue". You will then get an "AnsweredBy" parameter in calls to your TwiML so that you can decide what to do. If you do continue, Twilio will wait for the beep.
Let me know if that helps!
Update
The ifMachine parameter has been deprecated and replaced with the new Twilio Answering Machine Detection.
Now you can pass a parameter called MachineDetection with the argument Enable or DetectMessageEnd. Enable tries to give you an answer as soon as possible, passing the result to the TwiML webhook within the AnsweredBy parameter. DetectMessageEnd will call the webhook once the voicemail message has finished playing.

Resources