This commit is contained in:
19
docs/snippets/r/plugins/clear_plugins.md
Normal file
19
docs/snippets/r/plugins/clear_plugins.md
Normal file
@@ -0,0 +1,19 @@
|
||||
```r title="R"
|
||||
library(kreuzberg)
|
||||
|
||||
# Clear all custom OCR backends
|
||||
clear_ocr_backends()
|
||||
cat("OCR backends cleared\n")
|
||||
|
||||
# Clear all custom validators
|
||||
clear_validators()
|
||||
cat("Validators cleared\n")
|
||||
|
||||
# Clear all custom post-processors
|
||||
clear_post_processors()
|
||||
cat("Post-processors cleared\n")
|
||||
|
||||
# Clear all custom document extractors
|
||||
clear_document_extractors()
|
||||
cat("Document extractors cleared\n")
|
||||
```
|
||||
Reference in New Issue
Block a user