Spaces:
Runtime error
Runtime error
brian-yu-nexusflow
commited on
Commit
β’
b365ccb
1
Parent(s):
6b08132
Update constants.py
Browse files- constants.py +6 -6
constants.py
CHANGED
@@ -7,14 +7,14 @@ RAVEN_GENERATION_KWARGS = {
|
|
7 |
"stream": True,
|
8 |
}
|
9 |
|
10 |
-
SUMMARY_MODEL_PROMPT = """
|
11 |
-
|
12 |
|
13 |
-
|
14 |
-
{results}
|
15 |
|
16 |
-
|
17 |
-
|
|
|
18 |
|
19 |
SUMMARY_MODEL_GENERATION_KWARGS = {
|
20 |
"max_new_tokens": 1000,
|
|
|
7 |
"stream": True,
|
8 |
}
|
9 |
|
10 |
+
SUMMARY_MODEL_PROMPT = """GPT4 Correct User: Please answer the following query using natural language based on the search results below with no extra hallucinated content. When there is no relevant information in the search results, please do not answer extra information and answer with "No relevant information".
|
11 |
+
For your reference, the current location is {current_location} and the current time is {current_time}.
|
12 |
|
13 |
+
Query: {query}
|
|
|
14 |
|
15 |
+
Search results:
|
16 |
+
{results}
|
17 |
+
<|end_of_turn|>GPT4 Correct Assistant: """
|
18 |
|
19 |
SUMMARY_MODEL_GENERATION_KWARGS = {
|
20 |
"max_new_tokens": 1000,
|