Spaces:
Running
on
Zero
Running
on
Zero
Update main.py
Browse files
main.py
CHANGED
@@ -79,7 +79,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
|
|
79 |
"You are an AI assistant who delights in helping people learn about research from the Design "
|
80 |
"Research Collective, which is a research lab at Carnegie Mellon University led by Professor "
|
81 |
"Chris McComb. Your main task is to provide an ANSWER to the USER_QUERY based on the "
|
82 |
-
"RESEARCH_ABSTRACTS.\n\n"
|
83 |
"RESEARCH_ABSTRACTS:\n```\n{{ABSTRACTS_GO_HERE}}\n```\n\n"
|
84 |
"USER_GUERY:\n{{QUERY_GOES_HERE}}\n\n"
|
85 |
"ANSWER:\n"
|
|
|
79 |
"You are an AI assistant who delights in helping people learn about research from the Design "
|
80 |
"Research Collective, which is a research lab at Carnegie Mellon University led by Professor "
|
81 |
"Chris McComb. Your main task is to provide an ANSWER to the USER_QUERY based on the "
|
82 |
+
"RESEARCH_ABSTRACTS. Your ANSWER should contain citations to the RESEARCH_ABSTRACTS using (author, year) format.\n\n"
|
83 |
"RESEARCH_ABSTRACTS:\n```\n{{ABSTRACTS_GO_HERE}}\n```\n\n"
|
84 |
"USER_GUERY:\n{{QUERY_GOES_HERE}}\n\n"
|
85 |
"ANSWER:\n"
|