All - Activity - UlisesVD - Rasa Community Forum
How to execute Utter_message in sequence in while loop?
I answer that question here: Using buttons in Rasa: Improving the user experience
I think that will be better if you run that loop in a function
def getMessageOfApi(self, data):
***here put your loop and all the logic***
return "FullMessage" + "\nThank you"
in the utter_message just like this:
dispatch.utter_message(getMessageOfApi(data))
Problem with stories flow in Rasa X
that is not a condition to execute the story, only define a training input for that slot when you run the command:
rasa train
check this:
Datepicker with Botfront? Is this possible?
There is some way to use a datepicker with Botfront??? I don’t find information about it.
Access actions.py in RASA-X
you need to have two terminals open in the first one run the command
rasa run actions
and in the second one you run
rasa x
and in Linux you can run all in one line
rasa run actions & rasa x
Number selection does not seem to work
thanks man
Rasa Train - Nothing changed. You can use the old model
I don’t think so, but only read and detect the files inside the project.
TEDPolicy does not exist
you’re using an old version of Rasa try with the new one
and I specified max_history and epochs in that policy but I don’t know if is required but try it
policies:
- name: MemoizationPolicy
- name: TEDPolicy
max_history: 5
epochs: 100
- name: MappingPolicy
- name: FormPolicy
Getting response messages in backend tracker, but aren't displayed on UI of the bot
I can’t download the js file, and why you don’t use Botfront for the bot UI?
Reset slot after the forms complete
you need to put all in the list return `[SlotSet("",""), SlotSet("","")] I think is the only way to do it
return [SlotSet("your_entity_name", None)]
Prevent slots from being overwritten
You need to put auto_fill: False in your slots declaration into domain file
slots:
your_slot_name:
type: unfeaturized
auto_fill: false
How to prevent a slot from being overwritten?
You can put your slot in none at the end of form, check SlotSet
you can do this
from rasa_sdk.events import SlotSet
return [SlotSet("your_slot_name", None)]
Why I can't just extract the entity in a phrase?
yes the problem was in my slot mapping I was using
self.from_text(intent="inform")
And I changed it to
[self.from_entity(entity="branch", intent="inform"), self.from_text()]
Hosting My Chatbot
I try with this one but I have a problem with the slug size of my chat. and I couldn’t deploy it there.