Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
harryvu-futurehouse committed Jan 23, 2025
1 parent 5f72a4c commit 8adce6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions paperqa/prompts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from .agents.helpers import get_year

summary_prompt = (
"Summarize the excerpt below to help answer a question.\n\nExcerpt from"
" {citation}\n\n----\n\n{text}\n\n----\n\nQuestion: {question}\n\nDo not directly"
Expand Down Expand Up @@ -53,7 +51,7 @@
citation_prompt = (
"Provide the citation for the following text in MLA Format. "
"Do not write an introductory sentence. "
f"If reporting date accessed, the current year is {get_year()}\n\n"
f"If reporting date accessed, the current year is 2025\n\n"
"{text}\n\n"
"Citation:"
)
Expand Down

0 comments on commit 8adce6f

Please sign in to comment.