YchKhan commited on
Commit
7947d1f
·
verified ·
1 Parent(s): ef9485d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -98,8 +98,13 @@ refine_problem_prompt = """You are an expert consultant specializing in enhancin
98
  - Suggest innovative directions without fully solving the problem
99
 
100
  # Output Format:
101
- Return the results in JSON format with no additional text:
102
-
 
 
 
 
 
103
  {
104
  "refined_problem_1": {
105
  "title": "Brief descriptive title for the first refined problem",
 
98
  - Suggest innovative directions without fully solving the problem
99
 
100
  # Output Format:
101
+ Return the results in **strictly valid JSON** format with no additional text.
102
+ All string values (especially multiline descriptions) must:
103
+ - Be enclosed in double quotes
104
+ - Escape internal double quotes with backslashes (e.g., \")
105
+ - Replace newline characters with "\\n" (double backslash-n for JSON)
106
+ - Avoid unescaped Markdown if it breaks JSON syntax
107
+ Reference json:
108
  {
109
  "refined_problem_1": {
110
  "title": "Brief descriptive title for the first refined problem",