trying to Integrate alexa with dialogflow webhook(cloud function) - alexa

I am trying to integrate alexa with dialogflow and trying to use external api.
For static agent request and response it is working fine but when response is coming from external api in Dialogflow then alexa is not responding anything.
To get the speech from Dialogflow I am using, response.result.fulfillment.speech in lambda function, but same is not working for webhook(cloud function).
Please help me on this.

Related

Using Alexa Capabilities within an Alexa skills

Alexa is able to find service providers and also call them. Is it possible to use this capability from an Alexa skill. For example could an Alexa skill find and call a near-by doctor upon request?
The direct calling and search features of Alexa are not available currently within a custom skill, however you could achieve this your by using 3rd party APIs.
For example you can look up local businesses using the Yelp API and connect and connect a call using a Twilio API. You may want to register the user’s mobile number for this particular example.
It should also be noted that the features available in the Amazon SDK are always being updated. So it may be added in the future.

ESP32 and Firestore/Google Cloud Functions

I am trying to get data from Firestore onto my ESP32. I want to do this either directly, or by calling a google cloud function (likely python) which will interface with firestore and return data back to the ESP32 through an HTTP get.
Has anyone done this before? And if so, could they give some guidance on how to do that. I can connect my ESP32 to the internet no problem, and I have done HTTP requests to websites that return quotes and such. However, when I change the url to my cloud function url I cannot trigger my google cloud function.
Any information or resources on this would be greatly appreciated!
if you're working with esp-idf, you don't need a cloud function, you can communicate directly with the Cloud Firestore REST API using this component: https://github.com/kaizoku-oh/firestore

Reactjs : Is it possible to receive AWS SNS on Reactjs web app

I'm trying to receive realtime communication from my backend, which is rail, and use AWS SNS service to send message to frontent which is react. I can't find a way to subscribe and receive message via http from react.
Is this possible? If it is, how can i implement it? Do I need any extra library to do this?

Can I store data captured with a Watson conversation to an external file?

I am looking to capture various answers from a Watson conversation to an external file for analytics. Also looking to capture the length of time a user spends on a session on the bot. First, I need to know whether this is possible and secondaly, the method to do so.
This is really possible. You need to create one application to call the Watson Conversation Service, you can use one function inside the SDK to analyze the conversation.
You need to know: Watson Conversation service is one REST API endpoint, so you can build your app with Python, Java, PHP, Node, etc, and integrating with Watson Conversation.
You will need to use the SDK Watson Developer Cloud for call Watson Services, and, for getting the conversation, you will need to use the getLogs function, and with this, you will access all conversation flows. And with your custom code, you'll store the data.
See one example (Web application using Watson Conversation: Conversation-simple with Nodejs
API Reference for calling the Conversation service and methods.
See how to verify logs inside the UI Conversation.

Building my first kik bot through api reference guide provided by Kik

I am trying to setup my first test bot in kik messanger , tried the following steps
I have created my test bot in kik.
Configured my rest api URL as a webhook URL using the kik config api provided in the docs (Not using python or node.js libraries provided by kik)
Now trying to chat with my test bot from the Kik iOS app , test bot is not yet submitted to the store (as it is not doing anything now to submit to store).
But the test bot says it is not fully configured.
Please advise, how do i test if i am using rest api's to interact with the Bot (Rest API's are developed based on the api reference guide).
Any help here is highly appreciated.
Thank you
Make a GET request to https://api.kik.com/v1/config with your bot username and API key and check that webhook is set.
If it is, I would suggest checking that you are talking to the right bot, and use the right bot username/API key when you call the APIs.

Resources