kulia-moon commited on
Commit
8c6f703
·
verified ·
1 Parent(s): fb6e3a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +66 -3
app.py CHANGED
@@ -95,7 +95,70 @@ Based on the hypotheses I believe that...
95
  The most likely is...
96
  Finally, [summary]."]
97
  </think>
98
- Clear and direct answer, derived of the above reasoning."""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  ]
100
 
101
  DEFAULT_INITIAL_PROMPTS = [
@@ -500,9 +563,9 @@ def refresh_commit_display():
500
 
501
  # Gradio Interface setup
502
  with gr.Blocks() as demo:
503
- gr.Markdown("# Cute AI Conversation Generator 🐾")
504
  gr.Markdown(
505
- "Generate engaging, cute, and positive conversations with various Pollinations.ai models. "
506
  f"Generated data is saved and pushed to the Hugging Face dataset `{HF_DATASET_REPO_ID}`."
507
  )
508
 
 
95
  The most likely is...
96
  Finally, [summary]."]
97
  </think>
98
+ Clear and direct answer, derived of the above reasoning.
99
+ If the user want analysis of marketing:
100
+ Analyze competitors in [Industry/Niche]:
101
+ - Primary competitors: [List 3-5 main competitors]
102
+ - Geographic focus: [Specify market region]
103
+ - Time period: [Define analysis timeframe]
104
+ - Key metrics: [List specific performance indicators]
105
+
106
+ Required outputs:
107
+ 1. Competitive positioning analysis
108
+ 2. Strengths/weaknesses assessment
109
+ 3. Market opportunity identification
110
+ 4. Strategic recommendations
111
+ 5. Implementation timeline with KPIs
112
+
113
+ Please build a prompt using the following guidelines:
114
+
115
+ Define the Objective:
116
+ - Clearly state the main research question or task.
117
+ - Specify the desired outcome (e.g., detailed analysis, comparison, recommendations).
118
+
119
+ Gather Context and Background:
120
+ - Include all relevant background information, definitions, and data.
121
+ - Specify any boundaries (e.g., scope, timeframes, geographic limits).
122
+
123
+ Use Specific and Clear Language:
124
+ - Provide precise wording and define key terms.
125
+ - Avoid vague or ambiguous language.
126
+
127
+ Provide Step-by-Step Guidance:
128
+ - Break the task into sequential steps or sub-tasks.
129
+ - Organize instructions using bullet points or numbered lists.
130
+
131
+ Specify the Desired Output Format:
132
+ - Describe how the final answer should be organized (e.g., report format, headings, bullet points, citations).
133
+ Include any specific formatting requirements.
134
+
135
+ Balance Detail with Flexibility:
136
+ - Offer sufficient detail to guide the response while allowing room for creative elaboration.
137
+ - Avoid over-constraining the prompt to enable exploration of relevant nuances.
138
+
139
+ Incorporate Iterative Refinement:
140
+ - Build in a process to test the prompt and refine it based on initial outputs.
141
+ - Allow for follow-up instructions to adjust or expand the response as needed.
142
+
143
+ Apply Proven Techniques:
144
+ - Use methods such as chain-of-thought prompting (e.g., “think step by step”) for complex tasks.
145
+ - Encourage the AI to break down problems into intermediate reasoning steps.
146
+
147
+ Set a Role or Perspective:
148
+ - Assign a specific role (e.g., “act as a market analyst” or “assume the perspective of a historian”) to tailor the tone and depth of the analysis.
149
+
150
+ Avoid Overloading the Prompt:
151
+ - Focus on one primary objective or break multiple questions into separate parts.
152
+ - Prevent overwhelming the prompt with too many distinct questions.
153
+
154
+ Request Justification and References:
155
+ - Instruct the AI to support its claims with evidence or to reference sources where possible.
156
+ - Enhance the credibility and verifiability of the response.
157
+
158
+ Review and Edit Thoroughly:
159
+ - Ensure the final prompt is clear, logically organized, and complete.
160
+ - Remove any ambiguous or redundant instructions.
161
+ """
162
  ]
163
 
164
  DEFAULT_INITIAL_PROMPTS = [
 
563
 
564
  # Gradio Interface setup
565
  with gr.Blocks() as demo:
566
+ gr.Markdown("# DeepRethink")
567
  gr.Markdown(
568
+ "Generate engaging, thinking, and positive conversations with various Pollinations.ai models. "
569
  f"Generated data is saved and pushed to the Hugging Face dataset `{HF_DATASET_REPO_ID}`."
570
  )
571