Rasa-core quickstart

Hi. I’m just starting with rasa-core. I tried to follow rasa-core quickstart here, I’m stuck at the step 3: Train a dialogue model. I tried with rasa-core installed from pip and now I have the one from github, but it’s the same error. ruamel.yaml.scanner.ScannerError: mapping values are not allowed in this context in “”, line 2, column 8

Another point, why this yaml test says that domain.yml is not valid ? It says: mapping values are not allowed in this context at line 2 column 8. This is basically the same error I get when training a model. Thanks.

@t3loki can share what policy to use ?

try this. policy.yml

policies:
  - name: EmbeddingPolicy
    epochs: 2000
    attn_shift_range: 10
  - name: FormPolicy 

Train the core

python -m rasa_core.train -s data/stories.md -d domain.yml -o models/dialogue -c policy.yml --augmentation 0 

from rasa_core.agent import Agent

agent = Agent()
data = agent.load_data(“stories.md”)
agent.train(data)

I am using this function to train my model, I want to know how to pass the path of the location where I want to store my model after training.