trish06 commited on
Commit
b41641b
Β·
verified Β·
1 Parent(s): bb15a1c

prompt update

Browse files
Files changed (1) hide show
  1. backend/main.py +5 -1
backend/main.py CHANGED
@@ -40,7 +40,11 @@ GROQ_MODEL = "llama-3.3-70b-versatile"
40
  GROQ_API_KEY = os.environ.get("GROQ_API_KEY", "")
41
 
42
  # ── Prompts ───────────────────────────────────────────────────────────────────
43
- EXTRACTION_SYSTEM = """Extract protocol parameters from this research paper. Return ONLY valid JSON:
 
 
 
 
44
  {
45
  "title": "paper title",
46
  "authors": "first author et al.",
 
40
  GROQ_API_KEY = os.environ.get("GROQ_API_KEY", "")
41
 
42
  # ── Prompts ───────────────────────────────────────────────────────────────────
43
+ EXTRACTION_SYSTEM = """Extract protocol parameters from this research paper.
44
+ IMPORTANT:
45
+ Do not extract numbers randomly.
46
+ Only extract values that are clearly associated with an experimental step or procedure.
47
+ Return ONLY valid JSON:
48
  {
49
  "title": "paper title",
50
  "authors": "first author et al.",