We need to set alarm programmatically i.e. We will send request dynamically by text to AVS for setting Alarm.
I can not find any specific link which can help me with this.
In All examples,I have referred,Request for Event of setting alarm is being sent by voice.
Is it possible to send the event request by text ?
Any help will be highly appreciable.
Please guide me with this.
You can refer the GitHub project
https://github.com/willblaschko/AlexaAndroid
In this project, we can use voice and text inputs. While using Text, the text we entered is converted to voice through TextToSpeech Engine and send to AVS and get the output from AVS.
Related
I mean, like a URL that a user can click to open the Discord app or website and prewrite a Discord message, ready to be sent.
I need something similar to mailto: links where I can set the message body text as a parameter or directly within the URL.
Does anything like this exist? Any help would be much appreciated.
I have implemented Alexa Proactive events to send Notification
through Our skill in Alexa. It's working fine. But Problem is we
have added SSML tag say to speak as digits 2212545 like this to handle Audio. Rightnow this tag is displaying on screen of Alexa device. We don't want to display SSML tag. Please can anyone tell how can we remove these SSML tag in our Alexa notification while displaying
This is body i am sending
{"timestamp":"2021-02-23T07:06:00.693Z","referenceId":"db8b343f-5639-431c-a436-e7c6eee604c4","expiryTime":"2021-02-24T07:06:00.693Z","event":{"name":"AMAZON.MessageAlert.Activated","payload":{"state":{"status":"UNREAD"},"messageGroup":{"creator":{"name": "Amount 5000 for user id 2212545 will be credited on
2021/10/02"},"count":1}}},"relevantAudience":{"type":"Unicast","payload":{"user":
USER_ID}}}
I have a small library for formatting and such and just run my display text through a small regular expression.
I found this here and have used it ever since.
https://forums.developer.amazon.com/questions/5433/strip-ssml-tags-for-card-output.html
var regex = /(<([^>]+)>)/ig;
cardContent = someTextWithSSMLTags.replace(regex, "");
I'm using reactjs to build a web chat, I'm trying to display microphone and send buttons at the same time but it doesn't work, Only one of them disply, I heard that there's a limitation for doing this but I don't think so, Is there any suggestions?
Unfortunately, Web Chat is not designed for utilizing both the send button and the speak button, simultaneously. That is to say, technically, you can get both to display however if speech is enabled, then the send button will not respond.
This is because certain send elements and classes are replaced when speak is enabled. As such, even though the send button can be hacked back into Web Chat, it won't respond.
If you feel this would be a good feature for Web Chat to include, I would suggest you present it as a feature request here.
Hope of help!
Basically I wanted to build a chatbot with voice. But I wanted the voice to be custom. I checked over the link:
https://www.sitepoint.com/how-to-build-your-own-ai-assistant-using-api-ai/
https://dialogflow.com/
The above links say how to build a chatbot but it does not tell about the necessary programming required for a custom voice.
Even if a custom voice is not possible when using other API for chatbot, how to create a chatbot API of our own?
To start with, I have a basic requirement like:
If I say hello, the chatbot should respond using voice "hello" but in the voice that I configure. (I would record it previously and store it in a file and it should play that file)
How to configure this "voice" or "sound" portion of it?
if you want to store every response in a file then why do u need a chat bot. Simply use if else condition. If output is hello then points it towards that file name.
Still i dont know what u want to achieve with it.
I think i've found a blocker in my app development that i hope you can help me out with please.I am using a CN1 Local Notification and i want them to be triggered at an interval at a particular time. The LocalNotification sample project works but please can you answer this. How can i code it so that each local notification text n.setAlertTitle() is customised\different each day, from reading from a List? All the examples i read have static text.
I had thought of not making it repeat but initiating a new notification upon the user clicking previous one, but this would have the problem that if the user ignores the notification then no more would be sent, so i abandoned that approach.
Many thanks in advance.
The solution is not to issue a recurring notification and instead register several separate notifications. You will need to store and manage the notification ID's so you can cancel and replace them.
In order to change the text dynamically your app needs to run and the basic idea of the notification is that it occurs while your app isn't running so it must be static.