brian-yu-nexusflow commited on
Commit
b365ccb
β€’
1 Parent(s): 6b08132

Update constants.py

Browse files
Files changed (1) hide show
  1. constants.py +6 -6
constants.py CHANGED
@@ -7,14 +7,14 @@ RAVEN_GENERATION_KWARGS = {
7
  "stream": True,
8
  }
9
 
10
- SUMMARY_MODEL_PROMPT = """<s>GPT4 Correct User:
11
- I'm currently in {current_location} and the current time is {current_time}.
12
 
13
- Search results for relevant areas of interest to the user query:
14
- {results}
15
 
16
- Now please answer the following query using the search results shown above. Please keep your answer concise.
17
- Query: {query}<|end_of_turn|>GPT4 Correct Assistant:"""
 
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,