[FEATURE] Implementing Abstract Base Class for future model additions in ml_models
#362
Labels
enhancement
New feature or request
ml_models
#362
Is your feature request related to a problem?
Since, we want to support multiple types of models, we can standardize this by having a abstract base class.
What solution would you like?
I would like to introduce an abstract base class that encapsulates the common functionality shared by different model classes. This would promote code reusability and provide a consistent interface for all derived classes.
Do you have any additional context?
This change would affect the
SentenceTransformerModel
class and Q&A model that's work in progress. We would need to refactor these classes to inherit from the new abstract base class.The text was updated successfully, but these errors were encountered: