# Not getting proper response from the Chatbot

**URL:** <https://forum.rasa.com/t/not-getting-proper-response-from-the-chatbot/36899>\
**Category:** Rasa Open Source\
**Tags:** testing\
**Created:** [November 11, 2020, 10:03am UTC](https://forum.rasa.com/t/not-getting-proper-response-from-the-chatbot/36899 "2020-11-11T10:03:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![beginner](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@beginner](https://forum.rasa.com/u/beginner)\
**Post date:** [November 11, 2020, 10:03am UTC](https://forum.rasa.com/t/not-getting-proper-response-from-the-chatbot/36899/1 "2020-11-11T10:03:15Z")

</div>

`{"node": "Bundle", "query": "MATCH (:Bundle) RETURN COUNT(*)", "result": 0, "intent_name": "count_components"}`

The above response got from the chatbot made of rasa and neo4j.

The question was :- **how many bundles are inside this project**

Expected response :- **(bundle count) bundles are inside this project**

Actual response received :- **{“node”: “Bundle”, “query”: “MATCH (:Bundle) RETURN COUNT(\*)”, “result”: 0, “intent\_name”: “count\_components”}**

**Can anyone tell me the mistake I made?**

Rasa version: 2.0.3

Rasa SDK version: 2.0.0

Rasa X version: None

Python version: 3.6

Operating system : Ubuntu 20.04 (Linux-5.4.0-52-generic-x86\_64-with-glibc2.29)

---

<div class="post-metadata">

**Author:** ![jjuzl](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jjuzl](https://forum.rasa.com/u/jjuzl)\
**Post date:** [November 16, 2020, 10:41am UTC](https://forum.rasa.com/t/not-getting-proper-response-from-the-chatbot/36899/2 "2020-11-16T10:41:21Z")

</div>

Hi @beginner,

Could you please give more details on how you have integrated Rasa and Neo4j?

Also, can you confirm that the expected data is not in neo4j, rather than the query just not behaving as expected?

---

<div class="post-metadata">

**Author:** ![beginner](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@beginner](https://forum.rasa.com/u/beginner)\
**Post date:** [November 17, 2020, 4:00am UTC](https://forum.rasa.com/t/not-getting-proper-response-from-the-chatbot/36899/3 "2020-11-17T04:00:30Z")

</div>

@jjuzlintegrated Neo4j using:

```auto
from neo4j import GraphDatabase
driver = GraphDatabase.driver("neo4j://localhost:7687", auth=("neo4j","password"))

```

using the default database

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/1/19c0a6e91aad07bd6d858111b969587ced339111.png)

---

<div class="post-metadata">

**Author:** ![jjuzl](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@jjuzl](https://forum.rasa.com/u/jjuzl)\
**Post date:** [November 19, 2020, 12:45pm UTC](https://forum.rasa.com/t/not-getting-proper-response-from-the-chatbot/36899/4 "2020-11-19T12:45:39Z")

</div>

Could you please show me where and how you are putting data into Neo4j?
