unregister_loader
Function
Unregisters a loader.
Prototype
def unregister_loader(loader_class, file_suffix)
Parameters
Parameter |
Data Type |
Required/Optional |
Description |
|---|---|---|---|
loader_class |
BaseLoader |
Required |
Document loading function, which can only be a subclass of BaseLoader inherited from LangChain. |
file_suffix |
String |
No |
File name extension. The value range is [1, 32]. The default value is None. All loading functions of loader_class are unregistered. If the value is not null, the loading function corresponding to the specific document type is unregistered. |
Parent topic: LoaderMng