Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -280,8 +280,7 @@ def compress_data_og(c, instruct, history):
|
|
| 280 |
return resp
|
| 281 |
|
| 282 |
|
| 283 |
-
RECALL_MEMORY="""
|
| 284 |
-
The user will give you a query, and you will find every relevant keyword from the provided KEYWORD LIST that will be used to search for information about the query.
|
| 285 |
If there are no relevant keywords found in the provided list return 'NONE'
|
| 286 |
Respond with only a list, or NONE
|
| 287 |
Example Response:
|
|
@@ -299,8 +298,6 @@ KEYWORD LIST:
|
|
| 299 |
|
| 300 |
def get_mem(prompt,kw):
|
| 301 |
seed=random.randint(1,1000000000)
|
| 302 |
-
|
| 303 |
-
|
| 304 |
generate_kwargs = dict(
|
| 305 |
temperature=0.9,
|
| 306 |
max_new_tokens=1024,
|
|
|
|
| 280 |
return resp
|
| 281 |
|
| 282 |
|
| 283 |
+
RECALL_MEMORY="""The user will give you a query, and you will find every relevant keyword from the provided KEYWORD LIST that will be used to search for information about the query.
|
|
|
|
| 284 |
If there are no relevant keywords found in the provided list return 'NONE'
|
| 285 |
Respond with only a list, or NONE
|
| 286 |
Example Response:
|
|
|
|
| 298 |
|
| 299 |
def get_mem(prompt,kw):
|
| 300 |
seed=random.randint(1,1000000000)
|
|
|
|
|
|
|
| 301 |
generate_kwargs = dict(
|
| 302 |
temperature=0.9,
|
| 303 |
max_new_tokens=1024,
|