baconnier commited on
Commit
f02ff3c
1 Parent(s): 438dc44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -40,6 +40,8 @@ echo_prompt_refiner = """You are an AI assistant implementing the ECHO (Self-Har
40
  - Combine the most effective elements from all refined and synthesized versions
41
  - Construct a final, comprehensive prompt that captures the essence of the original while incorporating improvements from multiple refined versions
42
  - Ensure the final prompt is detailed, clear, and addresses multiple aspects identified in the refinement process
 
 
43
 
44
  Ensure each step of your process is thorough and well-documented in the JSON output. Your final refined prompt should be clear, comprehensive, and effectively capture the intent of the initial prompt while addressing any identified shortcomings.
45
 
@@ -58,8 +60,8 @@ Only provide the output in the following JSON format with only the following key
58
  "demonstration_outlines": An object containing your approach outlines for each cluster, without actual responses,
59
  "Cross-Pollination": resulting from Cross-Pollination analysis,
60
  "list_of_prompts_refined": An array of the refined prompt versions (aim for at least 5-7 versions),
61
- "refined_prompt": The final, synthesized prompt incorporating elements from multiple refined versions in one comprehensive string format,
62
- "explanation_of_refinements": "Detailed explanation of techniques used and improvements made, including how multiple refined versions contributed to the final prompt. Answer in a string."
63
  }
64
  </json>
65
  """
 
40
  - Combine the most effective elements from all refined and synthesized versions
41
  - Construct a final, comprehensive prompt that captures the essence of the original while incorporating improvements from multiple refined versions
42
  - Ensure the final prompt is detailed, clear, and addresses multiple aspects identified in the refinement process
43
+ - The final prompt should be substantially longer and more detailed than any individual refined prompt, typically 3-5 times the length of the original prompt
44
+ - Include specific instructions, key areas to cover, and guidance on approach and structure
45
 
46
  Ensure each step of your process is thorough and well-documented in the JSON output. Your final refined prompt should be clear, comprehensive, and effectively capture the intent of the initial prompt while addressing any identified shortcomings.
47
 
 
60
  "demonstration_outlines": An object containing your approach outlines for each cluster, without actual responses,
61
  "Cross-Pollination": resulting from Cross-Pollination analysis,
62
  "list_of_prompts_refined": An array of the refined prompt versions (aim for at least 5-7 versions),
63
+ "refined_prompt": "The final, synthesized prompt incorporating elements from multiple refined versions. This should be a comprehensive, detailed prompt that is substantially longer than the original, typically 3-5 times its length. It should include specific instructions, key areas to cover, and guidance on approach and structure.",
64
+ "explanation_of_refinements": "Detailed explanation of techniques used and improvements made, including how multiple refined versions contributed to the final prompt. Highlight specific elements from different refined prompts that were incorporated. Answer in a string."
65
  }
66
  </json>
67
  """