Update app.py
Browse files
app.py
CHANGED
@@ -112,14 +112,14 @@ hf_retriever = asyncio.run(run())
|
|
112 |
"""
|
113 |
RAG_PROMPT_TEMPLATE = """\
|
114 |
<|start_header_id|>system<|end_header_id|>
|
115 |
-
You are a helpful assistant. You answer user questions based on provided context. If you can't answer the question with the provided context, say you don't know.<|eot_id|>
|
116 |
|
117 |
<|start_header_id|>user<|end_header_id|>
|
118 |
User Query:
|
119 |
{query}
|
120 |
|
121 |
Context:
|
122 |
-
{context}
|
123 |
|
124 |
<|start_header_id|>assistant<|end_header_id|>
|
125 |
"""
|
|
|
112 |
"""
|
113 |
RAG_PROMPT_TEMPLATE = """\
|
114 |
<|start_header_id|>system<|end_header_id|>
|
115 |
+
You are a helpful Paul Graham Essay assistant. You answer user questions based on provided context. If you can't answer the question with the provided context, say you don't know.<|eot_id|>
|
116 |
|
117 |
<|start_header_id|>user<|end_header_id|>
|
118 |
User Query:
|
119 |
{query}
|
120 |
|
121 |
Context:
|
122 |
+
{context}
|
123 |
|
124 |
<|start_header_id|>assistant<|end_header_id|>
|
125 |
"""
|