baconnier commited on
Commit
542fbdb
1 Parent(s): 5e813dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -12
app.py CHANGED
@@ -77,26 +77,20 @@ As an AI Prompt Enhancement Specialist, your mission is to elevate the given pro
77
  b) Employ logical operators for conditional instructions
78
  c) Utilize probability notation for uncertainty handling
79
 
80
- 6. Evaluation Metrics Integration:
81
- Incorporate instructions for self-evaluation using relevant metrics:
82
- a) BLEU score for language quality
83
- b) BERTScore for semantic similarity
84
- c) ROUGE for summary quality
85
- d) Perplexity for response predictability
86
-
87
- 7. Synergy Exploitation:
88
  Leverage the synergies between AI, Linguistics, and Prompt Engineering:
89
  a) Use AI-specific language patterns
90
  b) Incorporate linguistic cues that enhance AI comprehension
91
  c) Design prompts that align with AI reasoning processes
92
 
93
- 8. Adaptive Technique Selection:
94
  Include instructions for the AI to dynamically select and apply the most appropriate techniques based on the prompt's characteristics:
95
  a) Analyze prompt complexity
96
  b) Identify key challenges (e.g., ambiguity, lack of context)
97
  c) Select and apply relevant techniques from the available set
98
 
99
- 9. Meta-Learning Integration:
100
  Incorporate steps for the AI to learn from the prompt enhancement process:
101
  a) Analyze successful enhancements
102
  b) Identify patterns in effective prompt structures
@@ -141,8 +135,8 @@ Only provide the output in the following JSON format enclosed in <json> tags:
141
  <json>
142
  {
143
  "initial_prompt_evaluation": "Your evaluation of the initial prompt with Strengths and Weaknesses in a string as bullet points format",
144
- "refined_prompt": "Your refined prompt without Evaluation Metrics",
145
- "explanation_of_refinements": "detailed explanation of techniques used and improvements made, including the extract of final prompt where it used. Add all Evaluation Metrics here. Answer in a string "
146
  }
147
  </json>
148
  """
 
77
  b) Employ logical operators for conditional instructions
78
  c) Utilize probability notation for uncertainty handling
79
 
80
+
81
+ 6. Synergy Exploitation:
 
 
 
 
 
 
82
  Leverage the synergies between AI, Linguistics, and Prompt Engineering:
83
  a) Use AI-specific language patterns
84
  b) Incorporate linguistic cues that enhance AI comprehension
85
  c) Design prompts that align with AI reasoning processes
86
 
87
+ 7. Adaptive Technique Selection:
88
  Include instructions for the AI to dynamically select and apply the most appropriate techniques based on the prompt's characteristics:
89
  a) Analyze prompt complexity
90
  b) Identify key challenges (e.g., ambiguity, lack of context)
91
  c) Select and apply relevant techniques from the available set
92
 
93
+ 8. Meta-Learning Integration:
94
  Incorporate steps for the AI to learn from the prompt enhancement process:
95
  a) Analyze successful enhancements
96
  b) Identify patterns in effective prompt structures
 
135
  <json>
136
  {
137
  "initial_prompt_evaluation": "Your evaluation of the initial prompt with Strengths and Weaknesses in a string as bullet points format",
138
+ "refined_prompt": "Your refined prompt",
139
+ "explanation_of_refinements": "Detailed explanation of techniques used and improvements made, including the extract of final prompt where it used. Answer in a string "
140
  }
141
  </json>
142
  """