Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -66,6 +66,8 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
|
|
66 |
D, I = index.search(encoded_query, k)
|
67 |
top_five = data.loc[I[0]]
|
68 |
|
|
|
|
|
69 |
prompt = (
|
70 |
"You are an AI assistant who delights in helping people learn about research from the IDETC Conference."
|
71 |
"Your main task is to provide an ANSWER to the USER_QUERY based on the RESEARCH_EXCERPTS."
|
|
|
66 |
D, I = index.search(encoded_query, k)
|
67 |
top_five = data.loc[I[0]]
|
68 |
|
69 |
+
print(top_five)
|
70 |
+
|
71 |
prompt = (
|
72 |
"You are an AI assistant who delights in helping people learn about research from the IDETC Conference."
|
73 |
"Your main task is to provide an ANSWER to the USER_QUERY based on the RESEARCH_EXCERPTS."
|