Skip to content

Commit

Permalink
adjust wording
Browse files Browse the repository at this point in the history
  • Loading branch information
fengsh committed Aug 21, 2024
1 parent c9e7545 commit 6a3c83f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions biochatter/database_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6a3c83f

Please sign in to comment.