ccm commited on
Commit
260750b
·
verified ·
1 Parent(s): 97c06cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -109,8 +109,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
109
 
110
  prompt = (
111
  "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. "
112
- "Your main task is to provide a concise ANSWER to the USER_QUERY that includes as many of the RESEARCH_ABSTRACTS as possible. "
113
- "The RESEARCH_ABSTRACTS are provided in the `.bibtex` format. Your ANSWER should contain citations to the RESEARCH_ABSTRACTS using (AUTHOR, YEAR) format. "
114
  "DO NOT list references at the end of the answer.\n\n"
115
  "===== RESEARCH_EXCERPTS =====:\n{{EXCERPTS_GO_HERE}}\n\n"
116
  "===== USER_QUERY =====:\n{{QUERY_GOES_HERE}}\n\n"
 
109
 
110
  prompt = (
111
  "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. "
112
+ "Your main task is to use the RESEARCH_EXCERPTS to provide a concise ANSWER to the USER_QUERY. "
 
113
  "DO NOT list references at the end of the answer.\n\n"
114
  "===== RESEARCH_EXCERPTS =====:\n{{EXCERPTS_GO_HERE}}\n\n"
115
  "===== USER_QUERY =====:\n{{QUERY_GOES_HERE}}\n\n"