Sbnos commited on
Commit
180cbdd
·
verified ·
1 Parent(s): 88e3219

mainfile cgpt 9

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def create_conversational_qa_chain(retriever, condense_llm, answer_llm):
76
  )
77
 
78
  retrieval_chain = (
79
- RunnableLambda(lambda x: x['standalone_question'])
80
  | retriever
81
  | RunnableLambda(lambda x: {"context": _combine_documents(x)})
82
  )
 
76
  )
77
 
78
  retrieval_chain = (
79
+ RunnableLambda(lambda x: {"standalone_question": x['standalone_question']})
80
  | retriever
81
  | RunnableLambda(lambda x: {"context": _combine_documents(x)})
82
  )