# Bot Thinking Indicator

**URL:** <https://forum.rasa.com/t/bot-thinking-indicator/12968>\
**Category:** Rasa Open Source\
**Created:** [July 15, 2019, 5:54pm UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968 "2019-07-15T17:54:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikhilkapavarapu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nikhilkapavarapu/32/3995_2.png) [@nikhilkapavarapu](https://forum.rasa.com/u/nikhilkapavarapu)\
**Post date:** [July 15, 2019, 5:54pm UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/1 "2019-07-15T17:54:17Z")

</div>

I want to have **Bot thinking indicator** (Similar to typing in Messaging) when bot is taking more time to respond. I want to have animated three dots when Bot is taking long time to respond , say above 500 ms. The indicator should be just above the input text box. Once after the response is displayed, the indicator animation should be cleared from the screen.

My actions includes FormAction, DelayedAction. Can that functionality be implemented in RASA?. If so, how do we do that ?

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [July 15, 2019, 6:23pm UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/2 "2019-07-15T18:23:17Z")

</div>

Hey @nikhilkapavarapu you can implement that in your channel I mean the bot’s front end.

---

<div class="post-metadata">

**Author:** ![nikhilkapavarapu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nikhilkapavarapu/32/3995_2.png) [@nikhilkapavarapu](https://forum.rasa.com/u/nikhilkapavarapu)\
**Post date:** [July 16, 2019, 5:10am UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/3 "2019-07-16T05:10:26Z")

</div>

Hi @JiteshGaikwad…Thanks for the reply… I really doubt do we need to have any changes in the backend…I mean in the actions file(Python Code). If at all if any changes needs to be done in Actions file, is it like defining a flag value and then in UI, we use that flag value and turn on the indicator.

You mean to say this functionality can be implemented directly in the front end ?

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [July 16, 2019, 5:50am UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/4 "2019-07-16T05:50:13Z")

</div>

hey @nikhilkapavarapu, you need to implemented directly in the front end. For your reference, you can check it out here, its been implemented in the form of a ascii spinner:

[https://github.com/JiteshGaikwad/Rasa\_CustomUI-v0.1](https://github.com/JiteshGaikwad/Rasa_CustomUI-v0.1)

---

<div class="post-metadata">

**Author:** ![SaswatRanjanPurohit](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@SaswatRanjanPurohit](https://forum.rasa.com/u/SaswatRanjanPurohit)\
**Post date:** [August 17, 2020, 2:03pm UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/5 "2020-08-17T14:03:02Z")

</div>

Hey Jitesh your above github page is giving 404 error . Is here any other sources are there then please let me know.

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [August 17, 2020, 2:27pm UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/6 "2020-08-17T14:27:10Z")

</div>

@SaswatRanjanPurohit, you can use the below link:

> **[GitHub - JiteshGaikwad/Chatbot-Widget](https://github.com/JiteshGaikwad/Chatbot-Widget)**
>
> Contribute to JiteshGaikwad/Chatbot-Widget development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![SaswatRanjanPurohit](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@SaswatRanjanPurohit](https://forum.rasa.com/u/SaswatRanjanPurohit)\
**Post date:** [August 19, 2020, 9:13am UTC](https://forum.rasa.com/t/bot-thinking-indicator/12968/7 "2020-08-19T09:13:13Z")

</div>

@JiteshGaikwad can you help me out how to implement the bot thinking indicator. We are calling the [socket.io](http://socket.io) url exposed by rasa from UI . For ui we are using angular.
