Rasa Labs access - New in 3.7.0b1
Rasa Labs features are experimental. We introduce experimental features to co-create with our customers. To find out more about how to participate in our Labs program visit our Rasa Labs page. We are continuously improving Rasa Labs features based on customer feedback. To benefit from the latest bug fixes and feature improvements, please install the latest pre-release using:Customizing a component
The LLM components are implemented as a set of classes that can be extended and modified. The following example shows how to extend theContextualResponseRephraser component to add a custom behavior.
For example, we can change the rephrasing logic to use some more simple rephrasing strategy instead of calling an LLM
in specific cases (e.g., when a certain keyword is present in the response).
This can be done by extending the ContextualResponseRephraser class and overriding the rephrase method:
config.yml
<module>.<class>.
All components are well documented in their source code. The code can
be found in your local installation of the Rasa Pro python package.