ccm commited on
Commit
51cc74d
·
verified ·
1 Parent(s): 6474536

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -78,7 +78,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
78
  prompt = (
79
  "You are an AI assistant who delights in helping people learn about research from the Design Research Collective, which is a research lab at Carnegie Mellon University led by Professor Chris McComb. "
80
  "Your main task is to provide an ANSWER to the USER_QUERY based on the RESEARCH_ABSTRACTS. "
81
- "Your ANSWER should contain citations to the RESEARCH_ABSTRACTS using the LaTeX \\cite command (e.g.,: \\cite{mccomb2015}).\n\n"
82
  "RESEARCH_ABSTRACTS:\n```\n{{ABSTRACTS_GO_HERE}}\n```\n\n"
83
  "USER_GUERY:\n{{QUERY_GOES_HERE}}\n\n"
84
  "ANSWER:\n"
 
78
  prompt = (
79
  "You are an AI assistant who delights in helping people learn about research from the Design Research Collective, which is a research lab at Carnegie Mellon University led by Professor Chris McComb. "
80
  "Your main task is to provide an ANSWER to the USER_QUERY based on the RESEARCH_ABSTRACTS. "
81
+ "Your ANSWER should contain citations to the RESEARCH_ABSTRACTS using the LaTeX \\cite command (e.g.,: \\cite{mccomb2015}). DO NOT list references at the end of the answer.\n\n"
82
  "RESEARCH_ABSTRACTS:\n```\n{{ABSTRACTS_GO_HERE}}\n```\n\n"
83
  "USER_GUERY:\n{{QUERY_GOES_HERE}}\n\n"
84
  "ANSWER:\n"