mgbam commited on
Commit
2f8da59
·
verified ·
1 Parent(s): 1297378

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -12,6 +12,7 @@ import sys
12
  from datetime import datetime
13
  from concurrent.futures import ThreadPoolExecutor, as_completed
14
  from typing import List, Dict, Any, Optional, Sequence
 
15
  import chromadb
16
  import requests
17
  import streamlit as st
@@ -76,13 +77,13 @@ class ResearchConfig:
76
  "5. Limitations & Future Directions\n\n"
77
  "Format: Markdown with LaTeX mathematical notation where applicable"
78
  )
79
- # Domain-specific prompt additions
80
  DOMAIN_PROMPTS = {
81
- "Biomedical Research": "Consider clinical terminology, experimental design, and patient outcomes. Focus on recent biomedical breakthroughs and treatment approaches.",
82
- "Legal Research": "Focus on legal language, precedents, and case law. Ensure nuanced interpretation of legal reasoning and statutory analysis.",
83
- "Environmental and Energy Studies": "Emphasize renewable energy technologies, climate impact, and policy implications. Include details on efficiency and scalability.",
84
- "Competitive Programming and Theoretical Computer Science": "Concentrate on algorithmic complexity, proofs, and novel computational techniques. Emphasize innovation in problem solving.",
85
- "Social Sciences": "Highlight economic trends, sociological data, and behavioral insights. Focus on correlations, trends, and policy impacts."
86
  }
87
 
88
  if not ResearchConfig.DEEPSEEK_API_KEY:
 
12
  from datetime import datetime
13
  from concurrent.futures import ThreadPoolExecutor, as_completed
14
  from typing import List, Dict, Any, Optional, Sequence
15
+
16
  import chromadb
17
  import requests
18
  import streamlit as st
 
77
  "5. Limitations & Future Directions\n\n"
78
  "Format: Markdown with LaTeX mathematical notation where applicable"
79
  )
80
+ # Domain-specific prompt additions for customizable analysis
81
  DOMAIN_PROMPTS = {
82
+ "Biomedical Research": "Consider clinical trial design, patient outcomes, and recent biomedical breakthroughs.",
83
+ "Legal Research": "Emphasize legal precedents, case law, and nuanced statutory interpretations.",
84
+ "Environmental and Energy Studies": "Highlight renewable energy technologies, efficiency metrics, and policy implications.",
85
+ "Competitive Programming and Theoretical Computer Science": "Focus on algorithmic complexity, innovative proofs, and computational techniques.",
86
+ "Social Sciences": "Concentrate on economic trends, sociological data, and correlations impacting public policy."
87
  }
88
 
89
  if not ResearchConfig.DEEPSEEK_API_KEY: