Skip to content

The agent engineering platform.

Add Cypher template diagrams (#13913)

Tomaz Bratanic4ce52544427a
diff --git a/templates/neo4j-cypher-ft/README.md b/templates/neo4j-cypher-ft/README.md
index 203be7c786..8390903d2b 100644
--- a/templates/neo4j-cypher-ft/README.md
+++ b/templates/neo4j-cypher-ft/README.md
@@ -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.
+![Workflow diagram](https://raw.githubusercontent.com/langchain-ai/langchain/master/templates/neo4j-cypher-ft/static/workflow.png)
+
## Environment Setup
The following environment variables need to be set:
diff --git a/templates/neo4j-cypher-ft/static/workflow.png b/templates/neo4j-cypher-ft/static/workflow.png
new file mode 100644
index 0000000000..1ec85d1c09
Binary files /dev/null and b/templates/neo4j-cypher-ft/static/workflow.png differ
diff --git a/templates/neo4j-cypher-memory/README.md b/templates/neo4j-cypher-memory/README.md
index b2adf87bf3..ecdf1453b8 100644
--- a/templates/neo4j-cypher-memory/README.md
+++ b/templates/neo4j-cypher-memory/README.md
@@ -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.
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
Define the following environment variables:
diff --git a/templates/neo4j-cypher-memory/static/workflow.png b/templates/neo4j-cypher-memory/static/workflow.png
new file mode 100644
index 0000000000..29babf9e13
Binary files /dev/null and b/templates/neo4j-cypher-memory/static/workflow.png differ
diff --git a/templates/neo4j-cypher/README.md b/templates/neo4j-cypher/README.md
index 0244923d3b..09dbcd49fb 100644
--- a/templates/neo4j-cypher/README.md
+++ b/templates/neo4j-cypher/README.md
@@ -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.
+[![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
Define the following environment variables:
diff --git a/templates/neo4j-cypher/static/workflow.png b/templates/neo4j-cypher/static/workflow.png
new file mode 100644
index 0000000000..efae6a3139
Binary files /dev/null and b/templates/neo4j-cypher/static/workflow.png differ