unregister_splitter
Function
Unregisters a splitter.
Prototype
def unregister_splitter(splitter_class, file_suffix)
Parameters
Parameter |
Data Type |
Required/Optional |
Description |
|---|---|---|---|
splitter_class |
TextSplitter |
Required |
Document splitting function, which must be a subclass of TextSplitter inherited from LangChain. |
file_suffix |
String |
Optional |
File name extension. The value range is [1, 32]. The default value is None. All splitting functions of splitter_class are unregistered. If the value is not null, the splitting function corresponding to the specified document type is unregistered. |
Parent topic: LoaderMng