Integration of GPT model with Rasa 3.1

  1. Can I integrate GPT model from transformers library with rasa framework. How? Provide code.

  2. How to combine the power of both rule-based(hardcoded) dialogue management and transformer-based language generation depending on your bot’s specific needs and use cases?

  3. How to make the bot rely on the rule-based dialogue management system to provide predefined responses for certain user intents, and for more open-ended or ambiguous intents, make it use the transformer model to generate dynamic and diverse responses.?

Please help me with code and elaborated examples. :pray:

1 Like