AIAnytime / Llama2-Medical-Chatbot

This is a medical bot built using Llama2 and Sentence Transformers. The bot is powered by Langchain and Chainlit. The bot runs on a decent CPU machine with a minimum of 16GB of RAM.
MIT License
296 stars 218 forks source link

Added message type and passed message content instead of message object #17

Closed vimalKeshu closed 11 months ago

vimalKeshu commented 11 months ago

The existing code was failing with below error: Message object has no attribute replace As per below document, it should be passed Message's content instead of Message object: https://docs.chainlit.io/api-reference/integrations/langchain#asynchronous-callback-handler