rishisim commited on
Commit
75aa6ac
·
verified ·
1 Parent(s): ed1358b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def chatresponse(message, history):
63
 
64
  from langchain_core.runnables import RunnablePassthrough
65
  rag_chain = (
66
- {"context": retriever, "question": RunnablePassthrough()}
67
  | prompt
68
  | llm
69
  | StrOutputParser()
 
63
 
64
  from langchain_core.runnables import RunnablePassthrough
65
  rag_chain = (
66
+ {"context": history, "question": RunnablePassthrough()}
67
  | prompt
68
  | llm
69
  | StrOutputParser()