Skip to content

Commit

Permalink
chore: 清理无用prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
GaiZhenbiao committed Nov 21, 2023
1 parent 8c5d22e commit cebe276
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions modules/pdf_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,33 +145,6 @@ def parse_pdf(filename, two_column = True):
logging.getLogger().setLevel(level)
return Document(page_content=text, metadata={"title": title})

BASE_POINTS = """
1. Who are the authors?
2. What is the process of the proposed method?
3. What is the performance of the proposed method? Please note down its performance metrics.
4. What are the baseline models and their performances? Please note down these baseline methods.
5. What dataset did this paper use?
"""

READING_PROMPT = """
You are a researcher helper bot. You can help the user with research paper reading and summarizing. \n
Now I am going to send you a paper. You need to read it and summarize it for me part by part. \n
When you are reading, You need to focus on these key points:{}
"""

READING_PROMT_V2 = """
You are a researcher helper bot. You can help the user with research paper reading and summarizing. \n
Now I am going to send you a paper. You need to read it and summarize it for me part by part. \n
When you are reading, You need to focus on these key points:{},
And You need to generate a brief but informative title for this part.
Your return format:
- title: '...'
- summary: '...'
"""

SUMMARY_PROMPT = "You are a researcher helper bot. Now you need to read the summaries of a research paper."


if __name__ == '__main__':
# Test code
Expand Down

0 comments on commit cebe276

Please sign in to comment.