Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add NLTKSplitter and ZeroShotClassifier to pydocs #8384

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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