superduperdb.ext package#

Subpackages#

Submodules#

superduperdb.ext.utils module#

superduperdb.ext.utils.ensure_initialized(func)[source]#

Decorator to ensure that the model is initialized before calling the function

superduperdb.ext.utils.format_prompt(X: str, prompt: str, context: List[str] | None = None) str[source]#
superduperdb.ext.utils.get_key(key_name: str) str[source]#
superduperdb.ext.utils.str_shape(shape: Sequence[int]) str[source]#
superduperdb.ext.utils.superduperdecode(r: Any, encoders: List[DataType])[source]#
superduperdb.ext.utils.superduperencode(object)[source]#

Module contents#