-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_v1 copy.yml
44 lines (41 loc) · 1.1 KB
/
config_v1 copy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: en
pipeline:
- name: SpacyNLP
model: en_core_web_md
- name: SpacyTokenizer
- name: SpacyFeaturizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 100
constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 100
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.5
ambiguity_threshold: 0.1
policies:
- name: TEDPolicy
max_history: 12
epochs: 200
constrain_similarities: true
- name: AugmentedMemoizationPolicy
max_history: 5
- name: MemoizationPolicy
max_history: 3
priority: 4
- name: RulePolicy
# Confidence threshold for the `core_fallback_action_name` to apply.
# The action will apply if no other action was predicted with
# a confidence >= core_fallback_threshold
core_fallback_threshold: 0.3
core_fallback_action_name: "action_default_fallback"
enable_fallback_prediction: true
# rasa run -m models --endpoints endpoints.yml