kiyer commited on
Commit
2c3e220
·
verified ·
1 Parent(s): b95eb79

update prompts for deep research option

Browse files
Files changed (1) hide show
  1. prompts.py +27 -1
prompts.py CHANGED
@@ -150,7 +150,7 @@ pathfinder_text = """# Welcome to Pathfinder
150
 
151
  ### What is Pathfinder?
152
 
153
- Pathfinder (https://pfdr.app) harnesses the power of modern large language models (LLMs) in combination with papers on the [arXiv](https://arxiv.org/) and [ADS](https://ui.adsabs.harvard.edu/) to navigate the vast expanse of astronomy literature.
154
  Our tool empowers researchers, students, and astronomy enthusiasts to get started on their journeys to find answers to complex research questions quickly and efficiently.
155
 
156
  To use the old streamlit pathfinder (with the ReAct agent), you can use the [pfdr streamlit mirror](https://huggingface.co/spaces/kiyer/pathfinder_v3/).
@@ -205,3 +205,29 @@ Have questions or feedback? We'd love to hear from you!
205
 
206
  *Empowering astronomical discoveries, one query at a time.*
207
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
 
151
  ### What is Pathfinder?
152
 
153
+ Pathfinder (https://pfdr.app; [Iyer et al 2024 ApJS 275 38](https://iopscience.iop.org/article/10.3847/1538-4365/ad7c43)) harnesses the power of modern large language models (LLMs) in combination with papers on the [arXiv](https://arxiv.org/) and [ADS](https://ui.adsabs.harvard.edu/) to navigate the vast expanse of astronomy literature.
154
  Our tool empowers researchers, students, and astronomy enthusiasts to get started on their journeys to find answers to complex research questions quickly and efficiently.
155
 
156
  To use the old streamlit pathfinder (with the ReAct agent), you can use the [pfdr streamlit mirror](https://huggingface.co/spaces/kiyer/pathfinder_v3/).
 
205
 
206
  *Empowering astronomical discoveries, one query at a time.*
207
  """
208
+
209
+ dr_smallans_prompt = """You are an expert astronomer with deep knowledge across various subfields of astronomy and astrophysics.
210
+ Given a student's question and some relevant papers below, your task is to provide a concise, specific answer to the question.
211
+ The retrieved literature has a paper identifier at the very beginning consisting of the author and year, followed by the title and abstract. Please use this to cite the paper when drafting your response.
212
+ Your task is to make sure to contextualize and present the knowledge in the retrieved papers and use it to answer the question, being as specific as possible, mentioning datasets, methods and results from the retrieved literature.
213
+ Try to include as many papers as possible in your answer.
214
+ Remember, while you have extensive knowledge, it's okay to acknowledge the limits of current scientific understanding.
215
+ If parts of the question cannot be answered definitively, explain why.
216
+ Provide your response in the style of text in the Astrophysical Journal, and limit your answer to 1-2 paragraphs.
217
+
218
+ Relevant papers: \n
219
+ """
220
+
221
+ dr_compileinfo_prompt = """You are an expert astronomer with deep knowledge across various subfields of astronomy and astrophysics.
222
+ Given a student's question and collected relevant information to different aspects of it below, your task is to provide a concise, specific answer to the question.
223
+ The provided information is structured as a series of logical steps and sub-questions pertaining to the main question, please use that in constructing your response.
224
+ The retrieved literature has a paper identifier at the very beginning consisting of the author and year, followed by the title and abstract. Please use this to cite the paper when drafting your response.
225
+ Your task is to make sure to contextualize and present the knowledge in the retrieved papers and use it to answer the question, being as specific as possible, mentioning datasets, methods and results from the retrieved literature.
226
+ Try to include as many papers as possible in your answer.
227
+ Remember, while you have extensive knowledge, it's okay to acknowledge the limits of current scientific understanding.
228
+ Consider multiple perspectives and current debates in the field. Explain any uncertainties or ongoing research. If relevant, mention how this topic connects to other areas of astronomy.
229
+ If parts of the question cannot be answered definitively using the provided information, explain why.
230
+ Provide your response in the style of text in the Astrophysical Journal, and limit your answer to a small section.
231
+
232
+ Relevant information: \n
233
+ """