# Bot is not working with long stories

**URL:** <https://forum.rasa.com/t/bot-is-not-working-with-long-stories/38530>\
**Category:** Rasa Open Source\
**Created:** [December 30, 2020, 7:34am UTC](https://forum.rasa.com/t/bot-is-not-working-with-long-stories/38530 "2020-12-30T07:34:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kulveersingh](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kulveersingh](https://forum.rasa.com/u/kulveersingh)\
**Post date:** [December 30, 2020, 7:34am UTC](https://forum.rasa.com/t/bot-is-not-working-with-long-stories/38530/1 "2020-12-30T07:34:33Z")

</div>

Hello, I am using the RASA 1.4.5 version and I am facing this issue. The bot is not predicting action after 3rd step of any story. Instead of giving me the reply of the 4th node, it takes me to fallback action. When I debug it in the console, I found the NLP gives excellent confidence for the 4th node, but core action confidence is met with fallback core confidence.

Below are my **stories.md** file.

```
## story One
* Greeting
	- greeting_action

## story two
* Getting_Started
	- getting_started_action
* Designation
	- designation_action
* bot_type
	- bot_type_action
* connect_with_live_agent
	- live_agent_action

## story three
* Getting_Started
	- getting_started_action
* Designation
	- designation_action
* are_you_bot
	- are_you_bot_action
* affirm
	- affirm_action

## story four
* Getting_Started
	- getting_started_action
* Designation
	- designation_action
* are_you_bot
	- are_you_bot_action
* deny
	- deny_action
* connect_with_live_agent
	- live_agent_action

## story five
* Designation
	- designation_action
* are_you_bot
	- are_you_bot_action
* deny
	- deny_action
* connect_with_live_agent
	- live_agent_action

## story six
* Designation
	- designation_action
* are_you_bot
	- are_you_bot_action
* affirm
	- affirm_action

## story seven
* Designation
	- designation_action
* bot_type
	- bot_type_action
* connect_with_live_agent
	- live_agent_action

## fallback story
* Out_Of_Scope
	- Fallback_action

```

Below is my **config.yml** file.

```
language: en

pipeline: tensorflow_embedding

policies:
  - name: AugmentedMemoizationPolicy
  - name: MappingPolicy
  - name: FallbackPolicy
    nlu_threshold: 0.4
    core_threshold: 0.3
    fallback_action_name: "Fallback_action"

```

Below is my **domain.yml** file.

```
actions:
  - getting_started_action
  - designation_action
  - bot_type_action
  - live_agent_action
  - are_you_bot_action
  - affirm_action
  - deny_action
  - Fallback_action
  - greeting_action

intents:
  - Getting_Started
  - Designation
  - bot_type
  - connect_with_live_agent
  - are_you_bot
  - affirm
  - deny_action
  - Out_Of_Scope
  - Greeting

slots:
   slot_Greeting:
       type: text

```

I want the bot to predict the next node of the story instead of fallback action.

---

<div class="post-metadata">

**Author:** ![marcos.allysson](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/marcos.allysson/32/12107_2.png) [@marcos.allysson](https://forum.rasa.com/u/marcos.allysson)\
**Post date:** [December 30, 2020, 11:03am UTC](https://forum.rasa.com/t/bot-is-not-working-with-long-stories/38530/2 "2020-12-30T11:03:25Z")

</div>

@kulveersingh, you should run rasa interactive to handle this. Doing this, you’ll teach and guide your assistant identify the intents and which actions it should answer. Try this way, hope it helps 😃

---

<div class="post-metadata">

**Author:** ![honeydhi](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@honeydhi](https://forum.rasa.com/u/honeydhi)\
**Post date:** [January 4, 2021, 7:32am UTC](https://forum.rasa.com/t/bot-is-not-working-with-long-stories/38530/3 "2021-01-04T07:32:43Z")

</div>

@marcos.allysson Thanks for your response. We have already done the same thing. But did not get any success. ☹
