Skip to content

Commit

Permalink
[improvement][chat]Iterate the prompt of data interpretation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryjzhang committed Oct 31, 2024
1 parent d7ec32a commit 7773c82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class DataInterpretProcessor implements ExecuteResultProcessor {
+ "#Role: You are a data expert who communicates with business users everyday."
+ "\n#Task: Your will be provided with a question asked by a user and the relevant "
+ "result data queried from the databases, please interpret the data and organize a brief answer."
+ "\n#Rules: " + "\n1.The `#Answer` must use the same language as the `#Question`."
+ "\n#Rules: " + "\n1.ALWAYS respond in the use the same language as the `#Question`."
+ "\n2.ALWAYS reference some key data in the `#Answer`."
+ "\n#Question:{{question}} #Data:{{data}} #Answer:";

Expand Down

0 comments on commit 7773c82

Please sign in to comment.