mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 20:58:25 +00:00
docs: updates code examples in neo4j_cypher.ipynb (#21973)
Resolves #19134 Thank you for contributing to LangChain! - [x ] **PR message**: ***Delete this entire checklist*** and replace with - **Description:** this pr replaces `title` with `name` in the [add examples in cypher generation prompt](https://python.langchain.com/v0.1/docs/integrations/graphs/neo4j_cypher/#add-examples-in-the-cypher-generation-prompt) section. - **Issue:** 19134 - **Dependencies:** any dependencies required for this change - **Twitter handle:** @mirna_wong
This commit is contained in:
parent
6b98140b38
commit
b4d5f3181b
@ -450,7 +450,7 @@
|
|||||||
"Do not include any text except the generated Cypher statement.\n",
|
"Do not include any text except the generated Cypher statement.\n",
|
||||||
"Examples: Here are a few examples of generated Cypher statements for particular questions:\n",
|
"Examples: Here are a few examples of generated Cypher statements for particular questions:\n",
|
||||||
"# How many people played in Top Gun?\n",
|
"# How many people played in Top Gun?\n",
|
||||||
"MATCH (m:Movie {{title:\"Top Gun\"}})<-[:ACTED_IN]-()\n",
|
"MATCH (m:Movie {{name:\"Top Gun\"}})<-[:ACTED_IN]-()\n",
|
||||||
"RETURN count(*) AS numberOfActors\n",
|
"RETURN count(*) AS numberOfActors\n",
|
||||||
"\n",
|
"\n",
|
||||||
"The question is:\n",
|
"The question is:\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user