[Solved] Dialogflow and C#. How do I get a response from an agent?


I’ve written simple bots for Dialogflow / Google Home in C# using the following Nuget package.
https://www.nuget.org/packages/Google.Cloud.Dialogflow.V2

Docs: https://developers.google.com/resources/api-libraries/documentation/dialogflow/v2/csharp/latest/

You can use the webhookrequest and webhookresponse classes to send and recieve information from Dialogflow.

It can be a bit more trouble than the NodeJs version, but with some work it is possible.

1

solved Dialogflow and C#. How do I get a response from an agent?