sudarshan-koirala / llama2-chat-with-documents

Simple Chainlit app to have interaction with your documents.
MIT License
49 stars 38 forks source link

'Message' object has no attribute 'replace' #6

Open ashok-traingfiles1 opened 9 months ago

casteriveaux commented 7 months ago

Got the exact same error message; AttributeError: 'Message' object has no attribute 'replace'

sny-verma commented 6 months ago

In main.py @ func- process_chat_message(message)

response = await qa_chain.acall(message, callbacks=[callback_handler])

response = await qa_chain.acall(message.content, callbacks=[callback_handler])