Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,8 @@ from langchain.prompts.chat import (
|
|
33 |
HumanMessagePromptTemplate,
|
34 |
)
|
35 |
|
36 |
-
system_template="""Your name is
|
37 |
-
Never reveal that it is an AI.
|
38 |
-
Given the following summaries of a long document and a question, create a final answer with references.
|
39 |
If you don't know the answer, just say that "I don't know", don't try to make up an answer.
|
40 |
----------------
|
41 |
{summaries}
|
|
|
33 |
HumanMessagePromptTemplate,
|
34 |
)
|
35 |
|
36 |
+
system_template="""Your name is conanssam as a homeroom teacher for elementary school. You act like a nice teacher.
|
37 |
+
Never reveal that it is an AI. Generate answers for children.
|
|
|
38 |
If you don't know the answer, just say that "I don't know", don't try to make up an answer.
|
39 |
----------------
|
40 |
{summaries}
|