Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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}'")
|