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 usage examples to DocumentSplitter and TextCleaner docstrings #7736

Closed
julian-risch opened this issue May 24, 2024 · 0 comments · Fixed by #7780
Closed

docs: Add usage examples to DocumentSplitter and TextCleaner docstrings #7736

julian-risch opened this issue May 24, 2024 · 0 comments · Fixed by #7780
Assignees
Labels
Contributions wanted! Looking for external contributions P1 High priority, add to the next sprint type:documentation Improvements on the docs

Comments

@julian-risch
Copy link
Member

julian-risch commented May 24, 2024

The docstring of the DocumentSplitter component and of the TextCleaner component should contain a usage example starting with

```python
from haystack import Document, Pipeline
...

just like all other Haystack components. Currently the usage examples are missing for these two components.

@julian-risch julian-risch added Contributions wanted! Looking for external contributions type:documentation Improvements on the docs labels May 24, 2024
@masci masci added the P1 High priority, add to the next sprint label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributions wanted! Looking for external contributions P1 High priority, add to the next sprint type:documentation Improvements on the docs
Projects
Development

Successfully merging a pull request may close this issue.

3 participants