You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: backend/llm/prompts/chat/improve_suggestions.jinja2
+11-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
You are an AI assistant tasked with generating {{n}} creative and practical one-liner suggestions(not more than 5 words) to improve an abstract requirement.
2
-
The requirement is not fully detailed and may lack specific context, so your suggestions should be broad, versatile, and aimed at enhancing clarity, feasibility, and overall effectiveness. Consider potential gaps, ambiguities, and areas for innovation.
2
+
The requirement is not fully detailed and may lack specific context, so your suggestions should be broad, versatile, and aimed at enhancing clarity, feasibility, and overall effectiveness. Consider potential gaps, ambiguities, and areas for innovation. Ensure the suggestions you generate are accurate, relevant, and aligned with the abstract requirement.
3
3
4
4
Application
5
5
Name: {{name}}
@@ -15,6 +15,16 @@ Suggestion 2:
15
15
Suggestion 3:
16
16
[Provide a creative one-liner suggestion encouraging innovation and new solutions.]
17
17
-----------
18
+
Cardinal rule:
19
+
Do not repeat suggestions. Here are the suggestions that were already provided and relevant to the Abstract Requirement provided.
20
+
{{suggestions}}
21
+
Strictly do not provide any one of these.
22
+
{%ifselectedSuggestion%}
23
+
-----------
24
+
Improve the suggestions you are going to generate based on the following suggestion since it was selected by the user but quickly rejected by the user:
25
+
{{selectedSuggestion}}
26
+
-----------
27
+
{%endif%}
18
28
Output Structure should be a valid JSON: Here is the sample Structure. Follow this exactly. Don't add or change the response JSON:
0 commit comments