Hello,
I’ve tried this : /intent{{“entities”:“entity value”}} to specify an intent with a given entity value.
I wanted to know if it is possible to add several entities values like :
slots:
datenschutzhinweis:
type: text
utter_askIfCustomerHappy:
- text: "Are you happy with the product?"
buttons:
- title: "Yes, happy"
payload: /affirm{{"customer_satisfaction":"yes"}}
- title: "No, unhappy"
payload: 'denny{{"customer_satisfaction":"no"}}
utter_satisfaction:
- text: "Thanks for your answer. You are {customer_satisfaction}!"
Did you define your slot for customer_satisfaction?
Is the influence_conversation = true for it?
If influence_conversation is set to true, then you need to change your story to
Hi @Johan1us, I also faced such a problem. In my use case the number of buttons are dynamic. The titles for the buttons are taken by a database in custom actions. Then I want to handle all these dynamic buttons using one intent and I want to implement these buttons using custom actions. But when I add the payload like above example without double quote it gives me errors. ex: when I put /feedback_button{{"feedback_value":"positive"}} in custom action it gives me syntax errors. This is a sample code for get you some idea about my issue. This code is is actions.py
I want after someone click the relevant button it should be identify the intent sample and fill the entity with relevant entity value. ex: if user select button 1 named title 1 I want to find the intent sample and fill the entity1 with entity_value_1
@akelad , can you reply to this Question here by Sandares .
Also, How should I capture what the user has clicked , if the slot value are dynamic.
as when I click on the button it gives me the intent name instead of the button title value.
Hello, Do you know how can I set a slot of type list using an action server? I am trying to create a checklist functionality I have the frontend ready but I am stuck on how to set the slot. This is a sample code. The idea is when the button is pressed it sets a slot of type List (a list of strings). I am using Rasa 3.0.3. I used the same on 2.8.16 and it works. I would really appreciate your help.