venkat-srinivasan-nexusflow commited on
Commit
abc2a5e
β€’
1 Parent(s): be9f317

Update constants.py

Browse files
Files changed (1) hide show
  1. constants.py +7 -3
constants.py CHANGED
@@ -7,13 +7,17 @@ RAVEN_GENERATION_KWARGS = {
7
  "stream": True,
8
  }
9
 
10
- SUMMARY_MODEL_PROMPT = """<s> [INST] 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". Please keep your response very short and concise.
 
 
 
 
 
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
  [/INST]"""
18
 
19
  SUMMARY_MODEL_GENERATION_KWARGS = {
 
7
  "stream": True,
8
  }
9
 
10
+ SUMMARY_MODEL_PROMPT = """<s> [INST]
11
+
12
+ Search results:
13
+ {results}
14
+
15
+ Please answer the following query using natural language based on the search results provided above 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". Please be detailed.
16
  For your reference, the current location is {current_location} and the current time is {current_time}.
17
 
18
  Query: {query}
19
 
20
+
 
21
  [/INST]"""
22
 
23
  SUMMARY_MODEL_GENERATION_KWARGS = {