asokolow
(Asokolow)
May 24, 2019, 10:24am
1
Hey,
while doing interactive learning with my bot, I noticed that the slots are not properly updated under rasa x. My action endpoint is properly set and it works well using interactive from rasa 1.0. How can I solve this ?
it should normally be :
* greet
- utter_greet
- utter_next_action
* request_color{"color": "green"}
- slot{"color": "green"}
- action_color
By the way, it is working in “Talk” mode !!
this is a bug it is logged
opened 07:13PM - 21 May 19 UTC
closed 09:17AM - 24 May 19 UTC
type:bug
**Rasa version**: Rasa 1.0.0
**Python version**: Python 3.7.3
**Operating … system** (windows, osx, ...): OS X 10.14.4
**Issue**:
Slots are not populating properly in Rasa X's interactive learning mode. I have a slot called 'name' from the original domain.yml that's provided on `rasa init` and although there's a slot populated in the story that's created, it still says 'No slots' underneath Slots.
**Content of configuration file (config.yml)**:
```yml
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline: supervised_embeddings
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
- name: KerasPolicy
- name: MappingPolicy
```
**Content of domain file (domain.yml)** (if used & relevant):
```yaml
%YAML 1.1
---
actions:
- utter_greet
- action_spent_timeframe
- utter_goodbye
- utter_date_info
- action_spent_since
- utter_thanks
- utter_name
entities:
- name
- budget_action
- time_unit
- time_count
- end_date
- start_date
intents:
- greet
- spent_timeframe
- name
- date_info
- spent_since
- thanks
- goodbye
- deny
slots:
end_date:
type: text
name:
type: text
start_date:
type: text
time_count:
type: text
time_unit:
type: categorical
values:
- day
- week
- month
- year
templates:
utter_date_info:
- text: Sure, what are the start and end dates? Here's an example date April 14
2015
utter_goodbye:
- text: Talk to you later!
utter_greet:
- text: Nice to you meet you {name}. How can I help?
utter_name:
- text: Hey there! Tell me your name.
utter_thanks:
- text: My pleasure.
```