Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,27 +24,16 @@ st.write(f"You selected: {mode}")
|
|
24 |
|
25 |
# Shinobi and Raikage templates
|
26 |
SHINOBI_TEMPLATE = """
|
27 |
-
You are an expert in [
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
β
**Instructional Approach** β If applicable, provide additional details, such as use cases, best practices, or challenges.
|
35 |
-
β
**Do NOT Answer the Prompt** β Your job is to enhance, NOT to generate a response.
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
**Enhanced Output Format:**
|
41 |
-
1. **Introduction/Definition** β Provide an overview of the topic.
|
42 |
-
2. **Key Concepts** β List and explain essential elements.
|
43 |
-
3. **Examples & Applications** β Offer real-world applications.
|
44 |
-
4. **Best Practices/Challenges** β Highlight important considerations.
|
45 |
-
5. **Conclusion/Final Thoughts** β Summarize key takeaways.
|
46 |
-
|
47 |
-
Ensure your response is easy to follow, informative, and avoids unnecessary jargon. Clearly label each section for easy navigation.
|
48 |
"""
|
49 |
|
50 |
RAIKAGE_TEMPLATE = """
|
|
|
24 |
|
25 |
# Shinobi and Raikage templates
|
26 |
SHINOBI_TEMPLATE = """
|
27 |
+
You are an expert in [TOPIC]. Your task is to provide a structured, comprehensive, and easy-to-understand response to the userβs query. Include the following sections:
|
28 |
|
29 |
+
1. **Introduction**: Define the topic and its significance.
|
30 |
+
2. **Key Concepts**: Explain core ideas, using simple language and real-world examples.
|
31 |
+
3. **Applications/Use Cases**: Highlight practical implementations.
|
32 |
+
4. **Best Practices/Challenges**: Address common pitfalls and solutions.
|
33 |
+
5. **Exercises/Next Steps** (if applicable): Provide actionable tasks for learning.
|
|
|
|
|
34 |
|
35 |
+
Format your response with bold section headers, numbered lists for multi-part answers, and concise explanations. Avoid jargon unless necessary,
|
36 |
+
and define technical terms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
"""
|
38 |
|
39 |
RAIKAGE_TEMPLATE = """
|