Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -64,7 +64,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
|
|
64 |
top_five = data.loc[I[0]]
|
65 |
|
66 |
prompt = (
|
67 |
-
"You are an AI assistant who delights in helping people learn about research from the IDETC Conference. Your main task is to provide an ANSWER to the USER_QUERY based on the RESEARCH_EXCERPTS.\n\n"
|
68 |
"RESEARCH_EXCERPTS:\n{{ABSTRACTS_GO_HERE}}\n\n"
|
69 |
"USER_GUERY:\n{{QUERY_GOES_HERE}}\n\n"
|
70 |
"ANSWER:\n"
|
|
|
64 |
top_five = data.loc[I[0]]
|
65 |
|
66 |
prompt = (
|
67 |
+
"You are an AI assistant who delights in helping people learn about research from the IDETC Conference. Your main task is to provide an ANSWER to the USER_QUERY based on the RESEARCH_EXCERPTS. Your ANSWER should be concise.\n\n"
|
68 |
"RESEARCH_EXCERPTS:\n{{ABSTRACTS_GO_HERE}}\n\n"
|
69 |
"USER_GUERY:\n{{QUERY_GOES_HERE}}\n\n"
|
70 |
"ANSWER:\n"
|