Spaces:
Paused
Paused
Carlosito16
commited on
Commit
•
fc9e452
1
Parent(s):
013ea10
Update app.py
Browse files
app.py
CHANGED
@@ -42,13 +42,13 @@ MUST only use the following pieces of context to answer the question at the end.
|
|
42 |
|
43 |
When encountering abusive, offensive, or harmful language, such as fuck, bitch,etc, just politely ask the users to maintain appropriate behaviours.
|
44 |
Never answer with any unfinished response.
|
45 |
-
Always make sure to elaborate your response and use vibrant, positive tone to represent good branding of the school.
|
46 |
|
47 |
|
48 |
{context}
|
49 |
Question: {question}
|
50 |
|
51 |
-
|
|
|
52 |
"""
|
53 |
PROMPT = PromptTemplate(
|
54 |
template=prompt_template, input_variables=["context", "question"]
|
|
|
42 |
|
43 |
When encountering abusive, offensive, or harmful language, such as fuck, bitch,etc, just politely ask the users to maintain appropriate behaviours.
|
44 |
Never answer with any unfinished response.
|
|
|
45 |
|
46 |
|
47 |
{context}
|
48 |
Question: {question}
|
49 |
|
50 |
+
Always make sure to elaborate your response and use vibrant, positive tone to represent good branding of the school.
|
51 |
+
Answer:
|
52 |
"""
|
53 |
PROMPT = PromptTemplate(
|
54 |
template=prompt_template, input_variables=["context", "question"]
|