When the user input is
“I want to order a new project called SalesPitch”
I want Dialogflow CX to determine that the intent is to order a new project, and also to capture the text “SalesPitch” in a parameter called projectName. I created a custom entity type for the project name, a regex, called projectNameText, and created a training phrase:
“I want to order a new project called Annabel”
and I annotated the training phrase so that Annabel was labelled as a projectNameText entity, all in the DialogFlow-CX console, as described in the documentation. But that instantly creates a parameter with Parameter id projectNameText. And I cannot edit that Parameter id. I can’t require that when Dialogflow matches that training phrase and extracts an entity of type projectNameText, it puts it into the parameter projectName. Dialogflow demands that it goes into a parameter called projectNameText, or projectNameText1 if there is more than one. When I run the simulator and type input that matches that training phrase, Dialogflow does indeed correctly extract the entity, but will only create a parameter named projectNameText - I can see the name and value in the simulator.
This StackOverflow answer implies that I can send the matched entity into any parameter I want. That would be sensible. But how do I do it? I can’t find any way to edit the parameter name in the Intent editor. All it gives me is this:
and I cannot change the Parameter Id.
I must be missing something really basic. Hints, please?
I asked this same question on StackOverflow but very few people read it so I am trying again here.
