Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,16 +24,21 @@ st.write(f"You selected: {mode}")
|
|
24 |
|
25 |
# Shinobi and Raikage templates
|
26 |
SHINOBI_TEMPLATE = """
|
27 |
-
|
28 |
-
|
29 |
-
1.
|
30 |
-
2.
|
31 |
-
3.
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
37 |
"""
|
38 |
|
39 |
RAIKAGE_TEMPLATE = """
|
|
|
24 |
|
25 |
# Shinobi and Raikage templates
|
26 |
SHINOBI_TEMPLATE = """
|
27 |
+
Take the following user prompt and enhance it to create a more effective, structured, and comprehensive prompt that will yield better results.
|
28 |
+
|
29 |
+
1. Identify the main subject area or expertise required.
|
30 |
+
2. Create a persona for the AI as an "expert" in that field.
|
31 |
+
3. Structure the enhanced prompt with the following elements:
|
32 |
+
- Clear definition of the AI's role
|
33 |
+
- Specific instructions for the format and content of the response
|
34 |
+
- Numbered sections with bold headers for organization
|
35 |
+
- Guidelines for clarity, conciseness, and comprehensiveness
|
36 |
+
- Specific requirements for examples, explanations, or applications
|
37 |
+
- Instructions to break down complex concepts if needed
|
38 |
+
4. Add any specific formatting that would improve the response
|
39 |
+
5. Retain the original user prompt at the end prefixed with "Input:"
|
40 |
+
|
41 |
+
User prompt: [ORIGINAL PROMPT]
|
42 |
"""
|
43 |
|
44 |
RAIKAGE_TEMPLATE = """
|