Is there any way to create Dialogflow agents via the RESTful API?
In the documentation, you only have the getAgent method. I would like to know if there is any strategy plan for creating agents through the REST API?
Doc
https://dialogflow.com/docs/reference/api-v2/rest/v2/projects
There is no way to create a Dialogflow agent via the API at this time.
Related
I am new to Azure Bot Framework Composer.
I am creating chatbot using Azure Bot Framework Composer(without writing code) which need to be launch in Angular Web Application from Azure Cloud after deployment.
In my chatbot project, need to fetch the user conversation data and send it to backend API from Azure Bot Framework Composer.
How to achieve this?, anyone help on this.
You can view the conversation data using ${conversation} scope and from dialog stack can access required information. To get last conversation data can use ${turn.Activity}. For sending to backend API, create HTTP post method and pass the data in the body of your request.
Without knowing more details on your chatbot project, one reasonable approach to take is to use the Send HTTP Request action in the composer.
After you obtain the values from the conversation that you are looking for, (can be stored in conversation / dialog variables), you could then pass it onto an HTTP send request and deliver that to your backend API.
With this, you can send any payload to your backend API.
I'm investigating Amazon Pinpoint as an SMS campaign engine which we would integrate via the REST APIs.
Having reviewed the documentation about Monetization events, they are only discussed in the context of iOS/Android SDKs or the JavaScript SDK.
https://docs.aws.amazon.com/mobileanalytics/latest/ug/defining-a-monetization-event-sdk.html
The REST API documentation does not specifically mention Monetization events.
https://docs.aws.amazon.com/pinpoint/latest/apireference/rest-api-events.html#rest-api-events-attributes-eventsrequest-table
Is it possible to use the REST API to create a monetization event? If possible, I'm assuming it is a particular value of EventType which I need to use for a monetisation event but this is not documented anywhere.
Thanks!
Michael
So I would like to implement Dialogflow fulfilliment using a custom node.js webhook. I've created a node.js app in Azure (I have my own .azurewebsites.net site), however I'm not quite sure how to link it to Dialogflow. How do I do this? Thank you.
On the dialog flow side Go to dashboard and click on fulfillment on side bar provide the web hook and basic authentication and headers.
On nodeJs make sure you provide POST Webhook API where dialogflow app sends requests.
Are you familiar with Express or any other framework to create REST APIs with Node?
There are tons of material on the web, but this is a starting point if you like.
In this link you'll find the documentation that shows which fields will be posted to your endpoint and those that you'll want to send back to Dialogflow.
Looking to make a chatbot on either Microsoft QnaMaker or Lex.
I would like to be able to make API calls to request answer to the question (node.js), train the bot using the API.
Currently I am using QnaMaker but unfortunately it doesn't seem to have response cards where user can click on it.
I know that Amaazon Lex allows this but do they allow training of bot through API?
Yes, you can make intents, put utterances and slots using the API's.
Lex support two types of API's - Model Building API and Runtime API. What you need is Model Building API.
As you are working with node.js, you should be referring this page and read more and more about putIntent() method.
Hope it helps.
Is there a way to create the webhooks using an api. I want to automate a group creation and would help having a webhook creation api. But i cant find any doc on how to do this.
Thanks
Suppandi
Slack does not currently have an API to programmatically create webhooks, thought it is something we're planning on doing in the future. Until then, manually creating them is the recommended approach: https://my.slack.com/services/new
Stumbled on this while searching myself and now slack has api for generating incoming webhooks programmatically