Reference
embfile.registry.
FormatsRegistry
[source]¶Bases: object
Maps each EmbFile
subclass to a format_id and one or multiple file extensions.
id_to_class –
extension_to_id –
id_to_extensions –
register_format
(embfile_class, format_id, extensions, overwrite=False)[source]¶Registers a new embedding file format with a given id and associates the provided file extensions to it.