Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
| 81 |
-
|
| 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 |
-
|
| 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 |
-
|
| 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
|
| 145 |
-
"explanation_of_refinements": "
|
| 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 |
"""
|