hruday96 commited on
Commit
503205d
Β·
verified Β·
1 Parent(s): 5a17a57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -19
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 [domain]. Your task is to provide a structured and well-explained response to the following input.
28
 
29
- Ensure your response follows these principles:
30
- βœ… **Clarity & Conciseness** β†’ Avoid unnecessary complexity while maintaining depth.
31
- βœ… **Step-by-Step Explanation** β†’ Break down concepts logically.
32
- βœ… **Real-World Examples** β†’ Use relatable examples when possible.
33
- βœ… **Structured Formatting** β†’ Organize content using headings, bullet points, or numbered lists.
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
- **Input:**
38
- {user_prompt}
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 = """