My Custom Action is Being Triggered Multiple time for single query resulting into multiple execution of Custom Action for same query.
I am Sharing Config File
The config recipe.
https://rasa.com/docs/rasa/model-configuration/
recipe: default.v1
Configuration for Rasa NLU.
Components
language: en
pipeline:
# No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# If you’d like to customize it, uncomment and adjust the pipeline.
# See Tuning Your NLU Model for more information.
- 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.3 ambiguity_threshold: 0.1
Configuration for Rasa Core.
Policies
policies:
# No configuration for policies was provided. The following default policies were used to train your model.
# If you’d like to customize them, uncomment and adjust the policies.
# See https://rasa.com/docs/rasa/policies for more information.
- name: MemoizationPolicy
- name: RulePolicy core_fallback_threshold: 0.4 core_fallback_action_name: “action_chatgpt” enable_fallback_prediction: True
- name: UnexpecTEDIntentPolicy max_history: 5 epochs: 100
- name: TEDPolicy max_history: 5 epochs: 100 constrain_similarities: true