š DataChain Open-Source Release. Star us on !
List different implementations available for a particular MLEM type. If a subtype is not provided, list all available MLEM types.
usage: mlem types [-h]
[abc] [sub_type]
arguments:
[abc] Subtype to list implementations. List subtypes if not
provided.
[sub_type] Type of `meta` subtype
This command can be used to see all available MLEM object types (classes), or to
list the different implementations available for a specific SUB_TYPE
(argument).
This can be useful, for example, to see which types of servers are supported for hosting and serving a model (see Examples).
Check out MLEM ABCs for a list of abstract
base classes that subclass mlem.core.base.MlemABC
. These constitute the
building blocks of MLEM, and can be subclassed to add new functionalities and
capabilities.
List MLEM abstract base classes
# List ABCs
$ mlem types
...
List available server implementations
$ mlem types server
['rmq', 'heroku', 'fastapi']
List configuration for a particular implementation
$ mlem types server fastapi
[not required] host: str = "0.0.0.0"
[not required] port: int = 8080