Integration with ParlAI Blender for chit-chat

The simplest method, I think, is to run this as a custom action. Once a fallback is triggered you might point it to this custom action which can run arbitrary python code. This includes anything from huggingface. Custom actions are explained in our docs as well as on our youtube channel.

I should stress though. Having an algorithm generate a response can (and will) result in unsafe behavior. As explained here, there’s a lot that can go wrong.