added support for tags to categorise the models
This commit is contained in:
parent
b89fafdc96
commit
c6d779f591
3 changed files with 9 additions and 1 deletions
|
@ -18,6 +18,8 @@ class BaseModel(abc.ABC):
|
|||
self.manager = manager
|
||||
# the mimetype of the model responses
|
||||
self.output_type: str = configuration.get("output_type", "application/json")
|
||||
# get the tags of the model
|
||||
self.tags = configuration.get("tags", [])
|
||||
|
||||
self._loaded = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue