Stories - Rasa Open Source - Rasa Community Forum
👋 Introducing the Rasa Playground
Stories
You have selected 0 posts.
741 views
post by haneef on Jan 13, 2020
Hi everyone! Can anyone help me out to understand stories.
I have very small flow.
user : hi
bot : hello, what i can do for you.
user: can you book for me.
bot: first show me your card in front of camera. Are you agree?
user: yes
bot: thanks for your card verification. now it’s time for your face you have to look at camera. Are you ready?
user:yes
bot: thanks haneef for verification steps. now tell me date on when you want to book a room.
user: tomorrow
bot: Thanks your room is booked for tomorrow.
So for this i implement stories.
Story path for book
- greet
- utter_greet
- room_booking
- utter_room_booking
- affirm
- utter_ask_face
- affirm
- utter_ask_date
- book_date
- utter_booked
But in this when i am running my bot. then 1st interaction is working well as above. but after end if i said hello again or hi again then my bot is not replaying. Please tell me anyone why?
And my domain file is:-
Configuration for Rasa NLU.
language: en
pipeline:
name: “SpacyNLP”
name: “SpacyTokenizer”
name: “SpacyFeaturizer”
name: “SklearnIntentClassifier”
name: “CountVectorsFeaturizer”
name: “EmbeddingIntentClassifier”
name: “CRFEntityExtractor”
features: [[“low”, “title”], [“bias”, “suffix3”], [“upper”, “pos”, “pos2”]]
BILOU_flag: true
max_iterations: 50
L1_c: 0.1
L2_c: 0.1
name: “EntitySynonymMapper”
name: “DucklingHTTPExtractor”
url: “http://localhost:8000”
dimensions to extract
dimensions: [“time”, “number”, “amount-of-money”, “distance”]
docker run -p 8000:8000 rasa/duckling
Configuration for Rasa Core.
policies:
name: MemoizationPolicy
name: KerasPolicy
name: MappingPolicy
post by Krogsager on Jan 13, 2020
Do you restart your session when you try the second time?
post by haneef on Jan 13, 2020
how to restart session in second time? i just run “rasa run -m model --enable-api --cors “*”” command and start testing.
post by Mappi on Jan 13, 2020
Check the policy page here (Max history/Augmentation)
post by haneef on Jan 13, 2020
can we have small conversation on stories topic. i have to clear some logic?