Skip to content

Commit

Permalink
docs: add NLTKSplitter and ZeroShotClassifier to pydocs (#8384)
Browse files Browse the repository at this point in the history
* Update preprocessors_api.yml

* Update classifiers_api.yml
  • Loading branch information
dfokina authored Sep 18, 2024
1 parent 514e0ab commit caf465b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/pydoc/config/classifiers_api.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
loaders:
- type: haystack_pydoc_tools.loaders.CustomPythonLoader
search_path: [../../../haystack/components/classifiers]
modules: ["document_language_classifier"]
modules: ["document_language_classifier", "zero_shot_document_classifier"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter
Expand All @@ -13,7 +13,7 @@ processors:
- type: crossref
renderer:
type: haystack_pydoc_tools.renderers.ReadmeCoreRenderer
excerpt: Detects the language of the Documents and adds it to the metadata.
excerpt: Classify documents based on the provided labels.
category_slug: haystack-api
title: Classifiers
slug: classifiers-api
Expand Down
2 changes: 1 addition & 1 deletion docs/pydoc/config/preprocessors_api.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
loaders:
- type: haystack_pydoc_tools.loaders.CustomPythonLoader
search_path: [../../../haystack/components/preprocessors]
modules: ["document_cleaner", "document_splitter", "text_cleaner"]
modules: ["document_cleaner", "document_splitter", "text_cleaner", "nltk_document_splitter"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter
Expand Down

0 comments on commit caf465b

Please sign in to comment.