matrix-rasa

A rasa bot for matrix based on the data from matrix.org
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-rasa.git
Log | Files | Refs | LICENSE

config.yml (1387B)


      1 # The config recipe.
      2 # https://rasa.com/docs/rasa/model-configuration/
      3 recipe: default.v1
      4 
      5 # The assistant project unique identifier
      6 # This default value must be replaced with a unique assistant name within your deployment
      7 assistant_id: matrix_helper_bot
      8 
      9 # Configuration for Rasa NLU.
     10 # https://rasa.com/docs/rasa/nlu/components/
     11 language: en
     12 
     13 pipeline:
     14   - name: SpacyNLP
     15     model: en_core_web_md
     16   - name: SpacyTokenizer
     17   - name: SpacyFeaturizer
     18   - name: RegexFeaturizer
     19   - name: LexicalSyntacticFeaturizer
     20   - name: CountVectorsFeaturizer
     21   - name: CountVectorsFeaturizer
     22     analyzer: "char_wb"
     23     min_ngram: 1
     24     max_ngram: 4
     25   - name: DIETClassifier
     26     epochs: 100
     27   - name: EntitySynonymMapper
     28   - name: ResponseSelector
     29     epochs: 100
     30   - name: FallbackClassifier
     31     threshold: 0.3
     32     ambiguity_threshold: 0.1
     33 
     34 
     35 # Configuration for Rasa Core.
     36 # https://rasa.com/docs/rasa/core/policies/
     37 policies:
     38 # # No configuration for policies was provided. The following default policies were used to train your model.
     39 # # If you'd like to customize them, uncomment and adjust the policies.
     40 # # See https://rasa.com/docs/rasa/policies for more information.
     41 #   - name: MemoizationPolicy
     42 #   - name: RulePolicy
     43 #   - name: UnexpecTEDIntentPolicy
     44 #     max_history: 5
     45 #     epochs: 100
     46 #   - name: TEDPolicy
     47 #     max_history: 5
     48 #     epochs: 100
     49 #     constrain_similarities: true