Tuchuanhuhuhu commited on
Commit
cebe276
·
1 Parent(s): 8c5d22e

chore: 清理无用prompt

Browse files
Files changed (1) hide show
  1. modules/pdf_func.py +0 -27
modules/pdf_func.py CHANGED
@@ -145,33 +145,6 @@ def parse_pdf(filename, two_column = True):
145
  logging.getLogger().setLevel(level)
146
  return Document(page_content=text, metadata={"title": title})
147
 
148
- BASE_POINTS = """
149
- 1. Who are the authors?
150
- 2. What is the process of the proposed method?
151
- 3. What is the performance of the proposed method? Please note down its performance metrics.
152
- 4. What are the baseline models and their performances? Please note down these baseline methods.
153
- 5. What dataset did this paper use?
154
- """
155
-
156
- READING_PROMPT = """
157
- You are a researcher helper bot. You can help the user with research paper reading and summarizing. \n
158
- Now I am going to send you a paper. You need to read it and summarize it for me part by part. \n
159
- When you are reading, You need to focus on these key points:{}
160
- """
161
-
162
- READING_PROMT_V2 = """
163
- You are a researcher helper bot. You can help the user with research paper reading and summarizing. \n
164
- Now I am going to send you a paper. You need to read it and summarize it for me part by part. \n
165
- When you are reading, You need to focus on these key points:{},
166
-
167
- And You need to generate a brief but informative title for this part.
168
- Your return format:
169
- - title: '...'
170
- - summary: '...'
171
- """
172
-
173
- SUMMARY_PROMPT = "You are a researcher helper bot. Now you need to read the summaries of a research paper."
174
-
175
 
176
  if __name__ == '__main__':
177
  # Test code
 
145
  logging.getLogger().setLevel(level)
146
  return Document(page_content=text, metadata={"title": title})
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
 
149
  if __name__ == '__main__':
150
  # Test code