migrate to rasa 3.x pretraining

This commit is contained in:
Pratyush Desai 2022-02-03 01:05:02 +05:30
parent 6f9950bcdf
commit 2a406e8f87
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD
5 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,5 @@
recipe: default.v1
language: en
pipeline:
- name: WhitespaceTokenizer
@ -9,14 +11,14 @@ pipeline:
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
epochs: 10
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
epochs: 10
policies:
- name: MemoizationPolicy
- name: RulePolicy
- name: TEDPolicy
max_history: 5
epochs: 100
epochs: 10

View File

@ -1,3 +1,5 @@
version: "3.0"
nlu:
- intent: greet
examples: |
@ -15,7 +17,7 @@ nlu:
- Can you sign me up for an account?
- How do I sign up?
- intent: inform
- intent: inform_email
examples: |
- My email is example@example.com
- random@example.com

View File

@ -1,3 +1,8 @@
version: "3.0"
policies:
- name: RulePolicy
rules:
- rule: activate signup form
steps:

View File

@ -1,3 +1,5 @@
version: "3.0"
stories:
- story: greet and signup
steps:

View File

@ -1,4 +1,4 @@
version: '2.0'
version: '3.0'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true