Documentation for Dialogflow web hooks on ASP.NET
See original GitHub issueI’m currently having a problem of sending a comprehensible response from my webhook API to Actions on Google. Below is the code sample where I set up the webhook response:
var response = new WebhookResponse
{
FulfillmentText = text,
OutputContexts =
{
new Context
{
Name = $"{request.Session}/contexts/action_selecting",
Parameters = parameters,
LifespanCount = 1
}
}
}
return response;
This works perfectly when I want to form a response to Dialogflow, but not Actions on Google. I also noticed that it can still work with Actions on Google if I remove the outputcontext from the response.
In the following image is the error I found on Actions on Google from the log:
Issue Analytics
- State:
- Created 4 years ago
- Comments:19
Top Results From Across the Web
Integration of Google Dialogflow Webhook Fullfillment and ...
In this tutorial, I would like to introduce how to integrate Google Dialogflow Webhook and Web API using .NET Core and C#.
Read more >.NET client library | Google Cloud
Dialogflow.V2 is a.NET client library for the Google Cloud Dialogflow API. Note: This documentation is for version 4.11.0 of the library.
Read more >ASP.Net | Part - 11 | Create Chatbots using Dialogflow(API.AI ...
Webhook : ASP. Net | Part - 11 | Create Chatbots using Dialogflow (API.AI) & deploy on GCloud ##################################### Create ...
Read more >How to use C# and Google.Cloud.Dialogflow.Cx.V3 ...
I've created a webhook using C# and ASP.NET Core in order to try to generate the webhook response to DialogFlow, but I'm really...
Read more >Dialogflow fulfillment with C# and App Engine - Mete Atamel
A fulfillment is a HTTPS webhook that Dialogflow can forward requests to. From then on, your code is in charge of handling the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Some sample code for the response - untested, but I’d hope it would be okay…
Then return that from your method.
That’s good to know, hope that this can somehow contribute to the development of Dialogflow and .NET 💃