Spaces:
Paused
Paused
Prompt revision
Browse files
app.py
CHANGED
@@ -48,19 +48,15 @@ def get_prompt_template(instruction, system_prompt):
|
|
48 |
|
49 |
|
50 |
template = get_prompt_template(
|
51 |
-
"""Use the following
|
52 |
-
|
|
|
53 |
|
54 |
{context}
|
55 |
|
56 |
Question: {question}""",
|
57 |
-
"""
|
58 |
-
|
59 |
-
Reply in 10 sentences or less. Do not use emotes.
|
60 |
-
|
61 |
-
Here is a record of the conversation so far:
|
62 |
-
|
63 |
-
{history}"""
|
64 |
)
|
65 |
|
66 |
endpoint_url = (
|
|
|
48 |
|
49 |
|
50 |
template = get_prompt_template(
|
51 |
+
"""Use the following context to answer the question at the end.
|
52 |
+
|
53 |
+
Context:
|
54 |
|
55 |
{context}
|
56 |
|
57 |
Question: {question}""",
|
58 |
+
"""Reply in 10 sentences or less.
|
59 |
+
Do not use emotes."""
|
|
|
|
|
|
|
|
|
|
|
60 |
)
|
61 |
|
62 |
endpoint_url = (
|