-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.yml
52 lines (47 loc) · 1.41 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
50
51
52
# 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: 20230531-105026-ivory-volt
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
importers:
- name: "pipeline.astro_data_importer.AstroDataImporter"
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
analyzer: char_wb
min_ngram: 1
max_ngram: 4
- name: DIETClassifier
epochs: 80
constrain_similarities: true
- name: EntitySynonymMapper
- name: pipeline.fuzzy_entity_extractor.FuzzyEntityExtractor
sentence_score_cutoff: 55
word_score_cutoff: 75
case_sensitive: False
use_slots: True
- name: ResponseSelector
epochs: 97
constrain_similarities: true
- name: FallbackClassifier
threshold: 0.65
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
max_history: 10
- name: RulePolicy
core_fallback_threshold: 0.4
- name: TEDPolicy
max_history: 5
epochs: 120
learning_rate: 0.02
constrain_similarities: true