of course,
class Getcheck(Action):
def name(self):
return 'action_check'
def run(self,
dispatcher: CollectingDispatcher,
tracker: Tracker,
domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
piz=next(tracker.get_latest_entity_values("tipo_p"), None)
caja= ['hola']
caja.append(piz)
dispatcher.utter_message('se a introducido {} correctamente '.format(piz))
message = {
"text": "desaria ordenar otra cosa:",
"quick_replies": [
{
"content_type": "text",
"title": "si",
"payload": "ordenar",
}, {
"content_type": "text",
"title": "no",
"payload": "quiero ver el carrito",
}
]
}
dispatcher.utter_message(json_message=message)
after this first time, if the customer want to add other pizza i need what a tuple add other parameter and print in list slot, the issue is when the costumer accesses for the second time the list change the firs parameter instead of changing it
thanks for you reply
regards 