Lhumpal commited on
Commit
fa4f06b
·
verified ·
1 Parent(s): d6a43ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ async def chat(request: ChatRequest):
179
  del request.chat_history[-1]
180
  request.chat_history.append({"role": "user", "parts": [{"text": request.message}]})
181
 
182
- return {"response": response.text, "dataset_str": text_string, "rephrase_response", rephrase_response, "docs": docs, "filtered_docs_and_scores": filtered_docs_and_scores, "history": request.chat_history, "RAG_prompt": rag_prompt, "chunks": chunks}
183
 
184
  if request.model_choice == "HF":
185
  if hf_token:
 
179
  del request.chat_history[-1]
180
  request.chat_history.append({"role": "user", "parts": [{"text": request.message}]})
181
 
182
+ return {"response": response.text, "dataset_str": text_string, "rephrase_response": rephrase_response, "docs": docs, "filtered_docs_and_scores": filtered_docs_and_scores, "history": request.chat_history, "RAG_prompt": rag_prompt, "chunks": chunks}
183
 
184
  if request.model_choice == "HF":
185
  if hf_token: