I'm reading about ResponseQueue and Session docs, but I am wondering that how chatterbot works when ResponseQueue is full (maxsize=10). Chatterbot will create a new Session or something i don't know.
Please help me to explain this. Thanks.
@hochochoc recently ResponseQueue concept has been removed https://github.com/gunthercox/ChatterBot/commit/e7a1d9c42ac0b3e0f03c585f43852756ad5705d7 from chatterbot.
I think documentation is pending will update soon.
I am wondering that how chatterbot works when ResponseQueue is full (maxsize=10).
It won't create another session, it will pop top element from the list.
if len(self.queue) == self.maxsize:
# Remove an element from the top of the list
self.queue.pop(0)
Can this be closed? The ResponseQueue is no longer used.
yes i think so, @hochochoc please feel free reopen if you have further updates
Most helpful comment
@hochochoc recently ResponseQueue concept has been removed https://github.com/gunthercox/ChatterBot/commit/e7a1d9c42ac0b3e0f03c585f43852756ad5705d7 from chatterbot.
I think documentation is pending will update soon.
It won't create another session, it will pop top element from the list.