Ani14 commited on
Commit
952c032
Β·
verified Β·
1 Parent(s): 093bc19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +30 -8
app.py CHANGED
@@ -258,14 +258,36 @@ if research_button and topic:
258
  ])
259
 
260
  prompt = f"""
261
- You are an expert research assistant.
262
- 1. Analyze the following sources.
263
- 2. Identify research gaps and propose a novel topic.
264
- 3. Write a {report_type.lower()} in a {tone.lower()} tone.
265
- Sources:
266
- {combined_text}
267
- APA Citations:
268
- {chr(10).join(citations)}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  """
270
 
271
  st.subheader(f"πŸ“ {report_type} on '{topic}'")
 
258
  ])
259
 
260
  prompt = f"""
261
+ You are an expert research assistant.
262
+
263
+ Your tasks are as follows:
264
+
265
+ 1. **Chronological Mapping**:
266
+ - Begin by outlining the timeline of major ideas, technologies, or findings based on the sources provided.
267
+ - Highlight what research or approaches have come **before** in the field.
268
+ - This will serve as the foundational timeline to understand the evolution of work in this domain.
269
+
270
+ 2. **Gap Identification**:
271
+ - Based on the timeline above, identify gaps or underexplored areas in current research.
272
+ - Gaps may be due to limited datasets, outdated methods, lack of real-world validation, missing cross-disciplinary approaches, etc.
273
+
274
+ 3. **Novel Contribution Proposal**:
275
+ - Based on the identified gap, propose a new research direction or project idea that could add value.
276
+ - Be innovative yet realistic.
277
+
278
+ 4. **Generate a Research Report**:
279
+ - Now write a {report_type.lower()} in a {tone.lower()} tone.
280
+ - It should summarize the current state of research (based on sources), highlight the research gap, and introduce your proposed research direction.
281
+
282
+ Please base all reasoning and writing only on the content and structure of the sources provided.
283
+
284
+ ---
285
+
286
+ πŸ“š **Sources to Analyze**:
287
+ {combined_text}
288
+
289
+ πŸ“Ž **APA Citations**:
290
+ {chr(10).join(citations)}
291
  """
292
 
293
  st.subheader(f"πŸ“ {report_type} on '{topic}'")