DeepVen commited on
Commit
1d73af1
1 Parent(s): 3824af6

Upload Index.py

Browse files
Files changed (1) hide show
  1. Index.py +1 -1
Index.py CHANGED
@@ -219,7 +219,7 @@ def _search(query, extractor, question=None):
219
  # llm_chain = LLMChain(prompt=prompt, llm=extractor)
220
 
221
  # return {"question": question, "answer": llm_chain.run(question)}
222
- print(extractor([(query, _prompt(question))]))
223
  return extractor([("answer", query, _prompt(question), False)])[0][1]
224
 
225
 
 
219
  # llm_chain = LLMChain(prompt=prompt, llm=extractor)
220
 
221
  # return {"question": question, "answer": llm_chain.run(question)}
222
+ print(extractor([("answer", query, _prompt(question), True)]))
223
  return extractor([("answer", query, _prompt(question), False)])[0][1]
224
 
225