explainability.explainable_user_model¶
Abstract class for creating explainable user models.
Module Contents¶
Classes¶
Helper class that provides a standard way to create an ABC using |
Attributes¶
- explainability.explainable_user_model.UserPreferences¶
- class explainability.explainable_user_model.ExplainableUserModel¶
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- abstract generate_explanation(user_preferences: UserPreferences) dialoguekit.core.AnnotatedUtterance¶
Generates an explanation based on the provided input data.
- Parameters:
input_data – The input data for which an explanation is to be
generated.
- Returns:
A system utterance containing an explanation.
- Raises:
NotImplementedError – This method must be implemented by a subclass.