From 09a68b838dbc84e52cdcf1477a90f1146a77cda0 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Thu, 3 Feb 2022 01:41:34 +0530 Subject: [PATCH] fixed domain.yml to abide by rasa3.0 format --- .gitignore | 3 ++- config.yml | 6 +++--- domain.yml | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 07e95f8..0a46a78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ venv/ .vscode -models/ \ No newline at end of file +models/ +.rasa/ \ No newline at end of file diff --git a/config.yml b/config.yml index 91f7489..9901bef 100644 --- a/config.yml +++ b/config.yml @@ -11,14 +11,14 @@ pipeline: min_ngram: 1 max_ngram: 4 - name: DIETClassifier - epochs: 10 + epochs: 100 - name: EntitySynonymMapper - name: ResponseSelector - epochs: 10 + epochs: 100 policies: - name: MemoizationPolicy - name: RulePolicy - name: TEDPolicy max_history: 5 - epochs: 10 \ No newline at end of file + epochs: 100 \ No newline at end of file diff --git a/domain.yml b/domain.yml index afc4c1e..2457dce 100644 --- a/domain.yml +++ b/domain.yml @@ -8,8 +8,10 @@ intents: - signup slots: email: - type: unfeaturized + type: text influence_conversation: false + mappings: + - type: from_text responses: utter_greet: - text: | @@ -30,5 +32,4 @@ actions: forms: signup_form: required_slots: - email: - - type: from_text + - email