-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
43 lines (39 loc) · 1.16 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
# The config recipe.
# https://rasa.com/docs/rasa/model-configuration/
recipe: default.v1
# The assistant project unique identifier
# This default value must be replaced with a unique assistant name within your deployment
assistant_id: 20231025-183508-soft-hip
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 200
constrain_similarities: true
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 200
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.3 # Adjusted threshold for better fallback prediction
ambiguity_threshold: 0.1
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
- name: RulePolicy
- name: TEDPolicy
max_history: 10
epochs: 200
constrain_similarities: true
# - name: UnexpecTEDIntentPolicy # Uncomment and configure if needed
# max_history: 5
# epochs: 100