Rasa core - 0.12.2
python: 3.5.2
I am using form action. I have only one slot ‘cuisine’ in required slots
On action server I noticed that instead of calling request_next_slot() function. It is directly calling extract_requested_slot() function.
Below are the logs for the same -
DEBUG:rasa_core_sdk.forms:Validating user input '{'intent': {'confidence': 0.9473636150360107, 'name': 'find_restaurant'}, 'entities': [], 'text': 'lookinf for restaurant', 'intent_ranking': [{'confidence': 0.9473636150360107, 'name': 'find_restaurant'}]}'
DEBUG:rasa_core_sdk.forms:Trying to extract requested slot 'cuisine' ...
DEBUG:rasa_core_sdk.forms:Got mapping '{'not_intent': [], 'intent': [], 'entity': 'cuisine', 'type': 'from_entity'}'
DEBUG:rasa_core_sdk.forms:Failed to extract requested slot 'cuisine'
Stories.md has only one story for it -
*find_restaurant
- restaurant_form
- form{"name":"restaurant_form"}
- form{"name":null}
Domain.yml contains all required fields -
slots:
cuisine:
auto_fill: false
type: unfeaturized
requested_slot:
type: unfeaturized
intents:
- find_restaurant:
use_entities: false
templates:
utter_ask_cuisine:
- text: 'Which cuisine'
utter_submit:
- text: "done!"
forms-
- restaurant_form
policy.yml is as follows-
policies:
- name: KerasPolicy
epochs: 50
max_history: 6
- name: MemoizationPolicy
max_history: 6
- name: FallbackPolicy
nlu_threshold: 0.7
core_threshold: 0.3
- name: FormPolicy
Form action is not requesting cusine slot to fill slot value. What are the possible reasons for this behaviour?