Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ async def query_rag(request: QueryRequest):
139
  # Build prompt using previous Q/A if available
140
  if last_qa_context:
141
  prompt = (
142
- f"Previous question and answer:\n"
143
  f"{last_qa_context}\n\n"
144
  f"Follow up question:\n"
145
  f"{request.question}"
 
139
  # Build prompt using previous Q/A if available
140
  if last_qa_context:
141
  prompt = (
142
+ f"You are answering a follow-up question using prior context.\n"
143
  f"{last_qa_context}\n\n"
144
  f"Follow up question:\n"
145
  f"{request.question}"