Chris Alexiuk commited on
Commit
ccba092
1 Parent(s): ec391cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ async def main(message):
123
  chain = cl.user_session.get("chain") # type: ConversationalRetrievalChain
124
  cb = cl.AsyncLangchainCallbackHandler()
125
 
126
- res = await chain.acall(message, callbacks=[cb])
127
  answer = res["answer"]
128
  source_documents = res["source_documents"] # type: List[Document]
129
 
 
123
  chain = cl.user_session.get("chain") # type: ConversationalRetrievalChain
124
  cb = cl.AsyncLangchainCallbackHandler()
125
 
126
+ res = await chain.acall(message.content, callbacks=[cb])
127
  answer = res["answer"]
128
  source_documents = res["source_documents"] # type: List[Document]
129