ParlAI
ParlAI copied to clipboard
Manually add sentences to history of chatbot
Hello
I'm running BlenderBot2 (zoo:blenderbot2/blenderbot2_3B/model). In addition, I'm using a safety classifier to flag chatbot answers as inappropriate (parlai.utils.safety.OffensiveLanguageClassifier). Whenever a response is flagged as inappropriate, I change the response and propose a new topic to the user. Unfortunately, this is then not part of the history of the chatbot and thus the follow-up conversation gets often weird.
Is there a possibility to manually add sentences to the end of the history of the chatbot or to replace the last sentences with other sentences?