# Graph

**1)Neo4j**

The Neo4j node allows THub to interact with Neo4j, a leading graph database that stores data as nodes and relationships. This integration is particularly beneficial for applications requiring understanding of complex relationships, such as recommendation systems, fraud detection, and semantic search.[GitHub](https://github.com/FlowiseAI/Flowise/issues/1237?utm_source=chatgpt.com)

***

#### Key Features

* **Graph-Based Retrieval**: Utilizes Cypher queries to fetch data based on intricate relationships, enabling more nuanced data retrieval compared to traditional databases.[GitHub](https://github.com/FlowiseAI/Flowise/issues/1237?utm_source=chatgpt.com)
* **Vector Search Capabilities**: Neo4j can function as a vector store, allowing similarity searches alongside traditional graph queries.
* **Integration with LangChain**: Aligns with LangChain's support for Neo4j, facilitating seamless incorporation into existing AI pipelines.[GitHub](https://github.com/FlowiseAI/Flowise/issues/1237?utm_source=chatgpt.com)
* **Support for Retrieval-Augmented Generation (RAG)**: Combines graph data retrieval with language models to generate contextually rich responses.

***

#### Configuration Requirements

To set up the Neo4j node in THub, you'll need:

* **Neo4j Connection Details**: Database URI, username, and password.
* **Cypher Queries**: Custom queries to retrieve the desired data from your graph database.
* **Optional**: Vector index configurations if leveraging vector search capabilities.

<figure><img src="/files/wo92K4L6GeQDi1RicwWQ" alt="" width="213"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thub.tech/langchain/graph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
