Spaces:
Sleeping
Sleeping
arabellastrange
commited on
Commit
·
e0208d1
1
Parent(s):
db2e7e4
fixed the for loop
Browse files- generate_response.py +1 -1
generate_response.py
CHANGED
@@ -156,7 +156,7 @@ def google_question(message, history):
|
|
156 |
DEFAULT_TEMPLATE = """\
|
157 |
Given a conversation (between Human and Assistant) and a follow up message from Human, \
|
158 |
rewrite the message to be a standalone web engine search query that captures all relevant context \
|
159 |
-
from the conversation in keywords.
|
160 |
|
161 |
<Chat History>
|
162 |
{chat_history}
|
|
|
156 |
DEFAULT_TEMPLATE = """\
|
157 |
Given a conversation (between Human and Assistant) and a follow up message from Human, \
|
158 |
rewrite the message to be a standalone web engine search query that captures all relevant context \
|
159 |
+
from the conversation in keywords if the previous conversation is relevant to the new message.
|
160 |
|
161 |
<Chat History>
|
162 |
{chat_history}
|