Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow cx how to set more than one parameter in same user input using entities

I'm trying to set two different parameters on the same page using two different entities. In this case, I want to capture the car and year model. It seems that it's not possible because only one parameter has been updated, even though the user input contains all the information. How can I deal with this? I can't find anything related to this in the documents.

 

pmatias_0-1717009302740.png

pmatias_2-1717009461850.png

 

 

0 12 795
12 REPLIES 12

Hi,

you have to make sure the parameter name is the same as in the intent, what are your training phrases?

Hi!

I'm not sure if it is the problem. As you can see the "car" parameter is working fine even the parameter_id in intent is different from the parameter in page.

[cid:image001.png@01DAB1F9.E935A130]

[cid:image002.png@01DAB1FA.3473DE00]


[cid:image003.png@01DAB1FA.3473DE00]
Pamela Matias
Accenture
Rio de Janeiro, Brazil
<PII removed by staff>


________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security, AI-powered support capabilities, and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.
______________________________________________________________________________________

www.accenture.com

I am sorry but the images were not attached

Hi @pmatias did you make the parameters as required? Remember that if you dont put them as requirements, the intent will end with or without the parameters fulfilled depending on if your trigger training phrase contains it.

EX:

Mizar_0-1717072714577.png

 

correct, and the parameters have to have the same name as in the intent to match perfectly

Ok, so I did this test and still failing. The year_model parameter has not been filled.



[cid:image001.png@01DAB277.8314ED10]
[cid:image002.png@01DAB277.8314ED10]

[cid:image003.png@01DAB277.8314ED10]

Pamela Matias
Accenture
Rio de Janeiro, Brazil
(PII Removed by Staff)


________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security, AI-powered support capabilities, and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at (URL Removed by Staff)
______________________________________________________________________________________

(URL Removed by Staff)

These entities are catched on this intent? Could you please share screenshots? With that we can provide a better solution

if you are replying from your email, the screenshots are not attached

Hi,

It's seem that you have a mistake in your route, i see $session.params.car_model != null

your parameter is named car !

It should be $session.params.car != null in your conditional rules

you need to add a second rule $session.params.year != null with Match EVERY rule (AND)

before to route to another page

Sincerely

Hello! I am not questioning the route that the flow will take, I really didn't change it after the tests you asked me to do. Before going to the part of the page that handles the route, it should fill in the parameters, right? It doesn't make sense for the @year_model parameter to be filled only if it is being related to a route condition. My question is: the dialogflow seems to not recognize more than one entity in the same sentence and/or does not fill in the second parameter that was configured. I would like help to resolve this.

 

Here's my intent called car_model (I changed the name to match the entity in another test). The configuration of the parameters (with the same names as identified in the intent). and the route configured as you requested. so when I type 'fusca 2023' in addition to the 'car_model' parameter, the 'year_model' parameter should appear in the Parameters tab of the simulator. Right? This is not happening.

pmatias_1-1717078326242.png

pmatias_2-1717078455095.pngpmatias_3-1717078572241.png

 

 

 

you will need to change the year to a number instead of using sys date

Did you find the answer to this? I'm having the same issue.