From 15b209674ee7fac1b3ced31423426360948b7c95 Mon Sep 17 00:00:00 2001 From: Tomaz Bratanic Date: Tue, 17 Oct 2023 03:29:54 +0200 Subject: [PATCH] Update graph_db_custom_prompt.ts (#2920) To avoid missing parameter error as https://github.com/langchain-ai/langchain/issues/11706, we should use double curly brackets in the cypher examples --- examples/src/chains/graph_db_custom_prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/chains/graph_db_custom_prompt.ts b/examples/src/chains/graph_db_custom_prompt.ts index f6d9c6d50421..5895b63dc858 100644 --- a/examples/src/chains/graph_db_custom_prompt.ts +++ b/examples/src/chains/graph_db_custom_prompt.ts @@ -40,7 +40,7 @@ Do not respond to any questions that might ask anything else than for you to con Do not include any text except the generated Cypher statement. Follow these Cypher example when Generating Cypher statements: # How many actors played in Top Gun? -MATCH (m:Movie {title:"Top Gun"})<-[:ACTED_IN]-() +MATCH (m:Movie {{title:"Top Gun"}})<-[:ACTED_IN]-() RETURN count(*) AS result The question is: