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
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