# Rasa always falling back

**URL:** <https://forum.rasa.com/t/rasa-always-falling-back/37947>\
**Category:** Tutorials, Resources & Videos\
**Created:** [December 11, 2020, 4:31pm UTC](https://forum.rasa.com/t/rasa-always-falling-back/37947 "2020-12-11T16:31:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sandeep2213](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@sandeep2213](https://forum.rasa.com/u/sandeep2213)\
**Post date:** [December 11, 2020, 4:31pm UTC](https://forum.rasa.com/t/rasa-always-falling-back/37947/1 "2020-12-11T16:31:30Z")

</div>

My bot is always falling back after I started including forms. Can any one help me solving that. I tried removing the extended code but still did not work. I changed to AugemntedMemoization Policy that also did not work. Can any one help me???

check the screen shots: This is what I am getting

 ![Screenshot (19)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/930e54b87efc914e6db6680f00abb81849052281.png)

This is I want

 ![Screenshot (20)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/1/1e887ccb6159cd7b9dc1563e3b753d28dfed70f4.png)

when i tried to change the threshold the this error came up:

InvalidConfigException: The pipeline configuration contains errors. The component ‘FallbackClassifier’ requires ‘IntentClassifier’ to be placed before it in the pipeline. Please add the required components to the pipeline.

please check my thread at [github.com](http://github.com) for RASAHQ:

> <https://github.com/RasaHQ/rasa/issues/7531>
>
> \<!-- THIS INFORMATION IS MANDATORY - YOUR ISSUE WILL BE CLOSED IF IT IS MISSING.… If you don't know your Rasa version, use \`rasa --version\`. 
> Please format any code or console output with three ticks \`\`\` above and below.
> If you are asking a usage question (e.g. "How do I do xyz") please post your question on https://forum.rasa.com instead --\>
> 
> \*\*Rasa version\*\*: 2.1.3
> 
> \*\*Rasa SDK version\*\* (if used & relevant):
> 
> \*\*Rasa X version\*\* (if used & relevant):
> 
> \*\*Python version\*\*: 3.7.9
> 
> \*\*Operating system\*\* (windows, osx, ...): WIN 10
> 
> \*\*Issue\*\*:
> I didn't why my rasa bot always fall back. Intent classification is good but the replying ones is not correct
> 
> 
> \*\*Error (including full traceback)\*\*:
> \`\`\`
> This is what I am getting
> !\[Screenshot (19)\](https://user-images.githubusercontent.com/61022690/101970110-7e5be780-3c4e-11eb-8ecd-b43b3d8799a5.png)
> 
> This was earlier screenshot when it is working fine
> !\[Screenshot (20)\](https://user-images.githubusercontent.com/61022690/101970112-8025ab00-3c4e-11eb-9ef5-f3c94ee725db.png)
> 
> \`\`\`
> 
> \*\*Command or request that led to error\*\*:
> \`\`\`
> 
> \`\`\`
> 
> \*\*Content of configuration file (config.yml)\*\* (if relevant):
> \`\`\`yml
> 
> \# Configuration for Rasa NLU.
> \# https://rasa.com/docs/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 https://rasa.com/docs/rasa/tuning-your-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
> \# - name: EntitySynonymMapper
> \# - name: ResponseSelector
> \# epochs: 100
> \# - name: FallbackClassifier
> \# threshold: 0.3
> \# ambiguity\_threshold: 0.1
> 
> 
> 
> \# Configuration for Rasa Core.
> \# https://rasa.com/docs/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: TEDPolicy
> \# max\_history: 5
> \# epochs: 100
> - name: RulePolicy
> 
> \`\`\`
> 
> \*\*Content of domain file (domain.yml)\*\* (if relevant):
> \`\`\`yml
> 
> session\_config:
> session\_expiration\_time: 60
> carry\_over\_slots\_to\_new\_session: true
> intents:
> \- greet
> \- what\_is\_supported
> \- eligibility\_criteria
> \- goodbye
> \- bot\_challenge
> \- how\_to\_apply\_supported
> \- fetch\_can
> entities:
> \- supported
> \- can\_number
> \- email
> \- mobile
> \- name
> slots:
> can\_number:
> type: text
> influence\_conversation: false
> email:
> type: text
> influence\_conversation: false
> mobile:
> type: text
> influence\_conversation: false
> name:
> type: text
> influence\_conversation: false
> supported:
> type: text
> influence\_conversation: false
> responses:
> utter\_greet:
> - text: Hey! How are you?
> utter\_ask\_can\_number:
> - text: Enter can bro
> utter\_default:
> - text: Falled back
> actions:
> \- action\_what\_is\_supported
> \- action\_eligibility
> \- action\_ask\_can\_number
> \- action\_ask\_name
> \- action\_ask\_mobile
> \- action\_ask\_email
> \- action\_apply\_supported
> \- action\_fetch\_can
> \- form\_fetch\_can
> forms:
> form\_fetch\_can:
> can\_number:
> - type: from\_text
> email:
> - type: from\_text
> mobile:
> - type: from\_text
> name:
> - type: from\_text
> 
> 
> \`\`\`
> 
> 
> \`\`\`stories
> 
> version: "2.0"
> 
> stories:
> 
> \- story: stories for what is supported
> steps:
> - intent: what\_is\_supported
> - action: action\_what\_is\_supported
> 
> \- story: story for eligibility criteria
> steps:
> - intent: eligibility\_criteria
> - action: action\_eligibility
> 
> \- story: story for applying
> steps:
> - intent: how\_to\_apply\_supported
> - action: action\_apply\_supported
> 
> 
>   
> \- story: fetching can
> steps:
> - intent: fetch\_can
> - action: utter\_ask\_can\_number
> - action: form\_fetch\_can
> - active\_loop: form\_fetch\_can
> \`\`\`
> 
> 
> debug message:
> Your input -\> what is income certificate
> 2020-12-12 09:21:56 DEBUG rasa.core.lock\_store - Issuing ticket for conversation 'fd95b907d632406e860e44b1d917e1dd'.
> 2020-12-12 09:21:56 DEBUG rasa.core.lock\_store - Acquiring lock for conversation 'fd95b907d632406e860e44b1d917e1dd'.
> 2020-12-12 09:21:56 DEBUG rasa.core.lock\_store - Acquired lock for conversation 'fd95b907d632406e860e44b1d917e1dd'.
> 2020-12-12 09:21:56 DEBUG rasa.core.tracker\_store - Could not find tracker for conversation ID 'fd95b907d632406e860e44b1d917e1dd'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Starting a new session for conversation ID 'fd95b907d632406e860e44b1d917e1dd'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Policy prediction ended with events '\[\]'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Action 'action\_session\_start' ended with events '\[\<rasa.shared.core.events.SessionStarted object at 0x000001B49DBF6DC8\>, \<rasa.shared.core.events.ActionExecuted object at 0x000001B359AEB608\>\]'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Current slot values:
> can\_number: None
> email: None
> mobile: None
> name: None
> supported: None
> requested\_slot: None
> 2020-12-12 09:21:56 DEBUG rasa.nlu.classifiers.diet\_classifier - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
> 2020-12-12 09:21:56 DEBUG rasa.nlu.selectors.response\_selector - Adding following selector key to message property: default
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Received user message 'what is income certificate' with intent '{'id': -7096267651852178878, 'name': 'what\_is\_supported', 'confidence': 0.9999905824661255}' and entities '\[{'entity': 'supported', 'start': 8, 'end': 14, 'confidence\_entity': 0.9511626958847046, 'value': 'income', 'extractor': 'DIETClassifier'}\]'
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Current slot values:
> can\_number: None
> email: None
> mobile: None
> name: None
> supported: income
> requested\_slot: None
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 5 events.
> 2020-12-12 09:21:56 DEBUG rasa.core.policies.memoization - Current tracker state:
> \[state 1\] user intent: what\_is\_supported | user entities: ('supported',) | previous action name: action\_listen
> 2020-12-12 09:21:56 DEBUG rasa.core.policies.memoization - There is no memorised next action
> 2020-12-12 09:21:56 DEBUG rasa.core.policies.rule\_policy - Current tracker state:
> \[state 1\] user intent: what\_is\_supported | user entities: ('supported',) | previous action name: action\_listen
> 2020-12-12 09:21:56 DEBUG rasa.core.policies.rule\_policy - There is no applicable rule.
> 2020-12-12 09:21:56 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_1\_RulePolicy.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Predicted next action 'action\_default\_fallback' with confidence 0.30.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Policy prediction ended with events '\[\]'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Action 'action\_default\_fallback' ended with events '\[BotUttered('Falled back', {"elements": null, "quick\_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"template\_name": "utter\_default"}, 1607745116.4180608), \<rasa.shared.core.events.UserUtteranceReverted object at 0x000001B345C6EB48\>\]'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Current slot values:
> can\_number: None
> email: None
> mobile: None
> name: None
> supported: None
> requested\_slot: None
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Predicted next action 'action\_listen' with confidence 1.00.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Policy prediction ended with events '\[\]'.
> 2020-12-12 09:21:56 DEBUG rasa.core.processor - Action 'action\_listen' ended with events '\[\]'.
> 2020-12-12 09:21:56 DEBUG rasa.core.lock\_store - Deleted lock for conversation 'fd95b907d632406e860e44b1d917e1dd'.
> 
> 
> 
> Please help me asap I'm in a hurry

---

_[View the full topic](https://forum.rasa.com/t/rasa-always-falling-back/37947)._
