[improvement][chat]Iterate the prompt of data interpretation.

This commit is contained in:
jerryjzhang
2024-10-31 21:48:40 +08:00
parent d7ec32a007
commit 7773c82eea

View File

@@ -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:";