# Chat bot is not correctly classify intent

**URL:** <https://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191>\
**Category:** Rasa Open Source\
**Created:** [October 22, 2019, 3:56pm UTC](https://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191 "2019-10-22T15:56:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![janaka1984](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/janaka1984/32/5794_2.png) [@janaka1984](https://forum.rasa.com/u/janaka1984)\
**Post date:** [October 22, 2019, 3:56pm UTC](https://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191/1 "2019-10-22T15:56:26Z")

</div>

when integrating rasa tracker with MongoDB, why chatbot is not correctly classified intent. it returns wrong utter

This is my configuration

```
language: "en"
pipeline:
- name: "tokenizer_whitespace"
- name: "ner_crf"
- name: "ner_synonyms"
- name: "intent_featurizer_count_vectors"
- name: "intent_classifier_tensorflow_embedding"

policies:
  - nlu_threshold: 0.3
    core_threshold: 0.3
    fallback_core_action_name: "action_default_fallback"
    fallback_nlu_action_name: "action_default_fallback"
    deny_suggestion_intent_name: "out_of_scope"
```

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [October 24, 2019, 10:05am UTC](https://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191/2 "2019-10-24T10:05:56Z")

</div>

Hi janaka,

the tracker/database should have no effect on the classification. Try retraining your bot and testing in different situations.

---

<div class="post-metadata">

**Author:** ![janaka1984](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/janaka1984/32/5794_2.png) [@janaka1984](https://forum.rasa.com/u/janaka1984)\
**Post date:** [October 24, 2019, 10:33am UTC](https://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191/3 "2019-10-24T10:33:42Z")

</div>

Continuing the discussion from [Chat bot is not correctly classify intent](http://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191):

Hi @imLew

then how tracker and mongoDB effect chatbot?

is it affect to predict response by referring history of DB data

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [October 25, 2019, 9:19am UTC](https://forum.rasa.com/t/chat-bot-is-not-correctly-classify-intent/20191/4 "2019-10-25T09:19:39Z")

</div>

The bot responses are indeed based on the events in the history, which is stored in the tracker. However which tracker store you choose should not affect the behavior of the bot.
