lappis-unb/rasa-ptbr-boilerplate

View on GitHub
bot/config.yml

Summary

Maintainability
Test Coverage
# https://rasa.com/docs/rasa/nlu/components/
recipe: default.v1

language: br

# See https://rasa.com/docs/rasa/tuning-your-model for more information.
pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
  analyzer: char_wb
  min_ngram: 1
  max_ngram: 4
- name: DIETClassifier
  epochs: 80
  model_confidence: softmax
  constrain_similarities: true
  tensorboard_log_directory: ".tensorboard_diet"
  tensorboard_log_level: "epoch"
- name: EntitySynonymMapper
- name: ResponseSelector
  model_confidence: softmax
  epochs: 100
  constrain_similarities: true
- name: FallbackClassifier
  threshold: 0.7
  ambiguity_threshold: 0.2

# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
- name: TEDPolicy
  max_history: 6
  epochs: 60
  model_confidence: softmax
  tensorboard_log_directory: ".tensorboard_ted"
  tensorboard_log_level: "epoch"
  constrain_similarities: true
- name: RulePolicy
  core_fallback_threshold: 0.7
  core_fallback_action_name: "action_default_fallback"
  enable_fallback_prediction: true
assistant_id: 20230606-041623-synchronic-underpass