Hi! I’m studying entities but it’s not passing from nlu to domain. config.yml language: en
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer analyzer: char_wb min_ngram: 2 max_ngram: 4
- name: DIETClassifier epochs: 100 constrain_similarities: true model_confidence: linear_norm
nlu.yml
- intent: subscribe
examples: |
- I want to get the newsletter
- Can you send me the newsletter?
- Can you sign me up for the newsletter?
- I want to subscribe to a newsletter.
- newsletter
- intent: inform_email
examples: |
- Meu email é example@example.com
- random@example.com
- Please send it to anything@example.com
- Email é something@example.com
stories.yml
- story: greet and subscribe
steps:
- intent: greet
- action: utter_greet
- intent: subscribe # se a intenção for a subscrição
- action: newsletter_form #inicia o formulário
- active_loop: newsletter_form #indica que o formulário está ativo
- active_loop: null #desativa o formulário
- action: utter_subscribed #resposta com o email e frequência
domain.yml forms: newsletter_form: #envia a resposta utter_ask_email, para receber o primeiro slot #agora o slot será preenchido pro uma entidade = email email: - type: from_entity entity: email frequency: - type: from_text
When I put the email in intent, it doesn’t go to the domain