In our Dialogflow agent, We have an intent set up with an event called "updateParams" associated with the intent. The intent has a parameter called "ExampleEntity" that I would like to update using c# by invoking the event using the Detect Intent API. We are using this version of the sdk Google.Cloud.Dialogflow.V2" Version="1.0.0-beta02"
queryInput.Event = new EventInput
{
Name = "updateParams",
Parameters = new Struct
{
Fields = {{ "ExampleEntity",Value.ForString("Bla")}}
},
LanguageCode = languageCode
};
An example of the response can be seen here. As you can see the "ExampleEntity" parameter isn't being updated as per the request:
Any tips on where we're going wrong? We're fairly new to Dialogflow so it is probably something simple.