Add Cypher template diagrams (#13913)

This commit is contained in:
Tomaz Bratanic
2023-11-27 16:18:51 +01:00
committed by GitHub
parent bfc12a4a76
commit 4ce5254442
6 changed files with 6 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ The package utilizes a full-text index for efficient mapping of text values to d
In the provided example, the full-text index is used to map names of people and movies from the user's query to corresponding database entries. In the provided example, the full-text index is used to map names of people and movies from the user's query to corresponding database entries.
![Workflow diagram](https://raw.githubusercontent.com/langchain-ai/langchain/master/templates/neo4j-cypher-ft/static/workflow.png)
## Environment Setup ## Environment Setup
The following environment variables need to be set: The following environment variables need to be set:

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 KiB

View File

@@ -7,6 +7,8 @@ Additionally, it features a conversational memory module that stores the dialogu
The conversation memory is uniquely maintained for each user session, ensuring personalized interactions. The conversation memory is uniquely maintained for each user session, ensuring personalized interactions.
To facilitate this, please supply both the `user_id` and `session_id` when using the conversation chain. To facilitate this, please supply both the `user_id` and `session_id` when using the conversation chain.
![Workflow diagram](https://raw.githubusercontent.com/langchain-ai/langchain/master/templates/neo4j-cypher-memory/static/workflow.png)
## Environment Setup ## Environment Setup
Define the following environment variables: Define the following environment variables:

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

View File

@@ -5,6 +5,8 @@ This template allows you to interact with a Neo4j graph database in natural lang
It transforms a natural language question into a Cypher query (used to fetch data from Neo4j databases), executes the query, and provides a natural language response based on the query results. It transforms a natural language question into a Cypher query (used to fetch data from Neo4j databases), executes the query, and provides a natural language response based on the query results.
[![Workflow diagram](https://raw.githubusercontent.com/langchain-ai/langchain/master/templates/neo4j-cypher/static/workflow.png)](https://medium.com/neo4j/langchain-cypher-search-tips-tricks-f7c9e9abca4d)
## Environment Setup ## Environment Setup
Define the following environment variables: Define the following environment variables:

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB