ChatterBot: Build a Chatbot With Python

The consume_stream method pulls a new message from the queue from the message channel, using the xread method provided by aioredis. For every new input we send to the model, there is no way for the model to remember the conversation history. This is important if we want to hold context in the conversation. The […]