Home Explore Blog CI



docker

6th chunk of `content/guides/genai-leveraging-rag/index.md`
3e8ecbb0837e647f9aa5dbcac693c4321c1fc13fe702a6ad000000010000031c


Results will appear below. What we are seeing here is the information system downloaded from Stack Overflow and saved in the graph database. RAG will utilize this information to enhance its responses.

You can also run the following query to visualize the data:

```cypher
CALL db.schema.visualization()
```

To check the relationships in the database, run the following query:

```cypher
CALL db.relationshipTypes()
```



Now, we are ready to enable our LLM to use this information. Go back to [http://localhost:8501/](http://localhost:8501/), enable the **RAG** checkbox, and ask the same question again. The LLM will now provide a more detailed answer.


Title: Visualizing and Utilizing the Neo4j Data with RAG
Summary
The verified data, downloaded from Stack Overflow and stored in Neo4j, can be visualized using the `db.schema.visualization()` Cypher query, and relationships can be checked using `db.relationshipTypes()`. To utilize this data for enhanced responses, the user is instructed to enable the RAG (Retrieval-Augmented Generation) checkbox in the application and ask the same question again. The LLM will now provide a more detailed answer using the information from the graph database.