demoPOC commited on
Commit
24f8957
·
verified ·
1 Parent(s): 3223660

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -249,7 +249,8 @@ def getRAGChain(customerName, customerDistrict, custDetailsPresent, vectordb,llm
249
  memory=memory,
250
  #retriever=vectordb.as_retriever(),
251
  verbose=True,
252
- prompt=createPrompt(customerName, customerDistrict, custDetailsPresent)
 
253
  )
254
  return chain
255
 
 
249
  memory=memory,
250
  #retriever=vectordb.as_retriever(),
251
  verbose=True,
252
+ combine_docs_chain_kwargs={'prompt': createPrompt(customerName, customerDistrict, custDetailsPresent)}
253
+ #prompt=createPrompt(customerName, customerDistrict, custDetailsPresent)
254
  )
255
  return chain
256