Spaces:
Sleeping
Sleeping
Create prompts/metadata_extraction.txt
Browse files
prompts/metadata_extraction.txt
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Input Instructions:
|
| 2 |
+
Research study text:
|
| 3 |
+
{context}
|
| 4 |
+
|
| 5 |
+
Requested information:
|
| 6 |
+
Study-level metadata:
|
| 7 |
+
- title
|
| 8 |
+
- authors
|
| 9 |
+
- publication_date
|
| 10 |
+
- journal
|
| 11 |
+
- doi
|
| 12 |
+
- abstract
|
| 13 |
+
- keywords
|
| 14 |
+
- key_findings
|
| 15 |
+
|
| 16 |
+
Data-level metadata:
|
| 17 |
+
{data_fields}
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
## Tasks:
|
| 21 |
+
Extract the requested information from the research study text.
|
| 22 |
+
Return as a flat JSON object with exactly the requested listed keys, in the provided order.
|
| 23 |
+
Return as structured JSON (no markdown, no nested objects).
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
**CRITICAL**: You MUST return only valid JSON.
|
| 27 |
+
If requested information is not avaiable in the research study text, the respone to the key must be N/A,
|
| 28 |
+
EXEPT for "key_findings" - these should always be extracted from you within one sentence.
|
| 29 |
+
|