BhanuPrakashSamoju commited on
Commit
1209a38
·
1 Parent(s): bac0d19

Update Index.py

Browse files
Files changed (1) hide show
  1. Index.py +1 -0
Index.py CHANGED
@@ -251,6 +251,7 @@ def rag(domain: str, question: str):
251
  answer = _search(question, extractor)
252
  text = _prompt(question)
253
  text += "\n" + "\n".join(x["text"]for x in embeddings.search(question))
 
254
  print(text)
255
 
256
  return {"question": question, "answer": answer}
 
251
  answer = _search(question, extractor)
252
  text = _prompt(question)
253
  text += "\n" + "\n".join(x["text"]for x in embeddings.search(question))
254
+ print("Look here for context --> ")
255
  print(text)
256
 
257
  return {"question": question, "answer": answer}