Spaces:
Build error
Build error
Update pages/2_Twitter_GPT_Search.py
Browse files
pages/2_Twitter_GPT_Search.py
CHANGED
@@ -35,7 +35,12 @@ SOURCES: xyz
|
|
35 |
|
36 |
Begin!
|
37 |
----------------
|
38 |
-
{context}
|
|
|
|
|
|
|
|
|
|
|
39 |
messages = [
|
40 |
SystemMessagePromptTemplate.from_template(system_template),
|
41 |
HumanMessagePromptTemplate.from_template("{question}")
|
|
|
35 |
|
36 |
Begin!
|
37 |
----------------
|
38 |
+
{context}
|
39 |
+
|
40 |
+
{chat_history}
|
41 |
+
|
42 |
+
Human: {question}"""
|
43 |
+
|
44 |
messages = [
|
45 |
SystemMessagePromptTemplate.from_template(system_template),
|
46 |
HumanMessagePromptTemplate.from_template("{question}")
|