Cheselle commited on
Commit
8778059
·
verified ·
1 Parent(s): 4b1e8a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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}<|eot_id|>
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
  """