From 6a3c83f4c42b1a9eecf020ac6a0d14b40ff9a010 Mon Sep 17 00:00:00 2001 From: fengsh Date: Wed, 21 Aug 2024 14:07:00 -0400 Subject: [PATCH] adjust wording --- biochatter/database_agent.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/biochatter/database_agent.py b/biochatter/database_agent.py index 712345c8..c8de630b 100644 --- a/biochatter/database_agent.py +++ b/biochatter/database_agent.py @@ -94,8 +94,9 @@ def _build_response( "I didn't find any result in knowledge graph, " f"but here is the query I used: {cypher_query}. " "You can ask user to refine the question. " - "Note: in your answer, please always quote the query " - "so that user is able to refine his question." + "Note: please ensure to include the query in quotation " + "marks in your response so that the user can refine " + "their question effectively." ), metadata = { "cypher_query": cypher_query @@ -110,8 +111,9 @@ def _build_response( "The results retrieved from knowledge graph are: " f"{results_dump}. " f"The query used is: {cypher_query}. " - "Note: in your answer, please always quote the query " - "so that user is able to refine his question" + "Note: please ensure to include the query in quotation " + "marks in your response so that the user can refine " + "their question effectively." ), metadata = { "cypher_query": cypher_query