-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
49 lines (47 loc) · 1.19 KB
/
config.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
45
46
47
48
49
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: fr
pipeline:
- name: WhitespaceTokenizer
- 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
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
max_history: 3
priority: 3
- name: TEDPolicy
max_history: 5
epochs: 100
validation_split: 0.1
random_seed: 1
- name: "RulePolicy"
#what i add to config to work with fallback --> default necessary
- name: "FallbackPolicy"
nlu_threshold: 0.4
core_threshold: 0.4
fallback_action_name: "action_default_fallback"
# max_history: 3
# epochs: 200
# validation_split: 0.1
# random_seed: 1
#- name: MappingPolicy
#- name: EmbeddingPolicy
#- name: FallbackPolicy
# fallback_action_name: 'action_default_fallback'