-
Notifications
You must be signed in to change notification settings - Fork 128
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
Unstructured: review docstrings #531
Conversation
...tions/unstructured/src/haystack_integrations/components/converters/unstructured/converter.py
Show resolved
Hide resolved
`"one-doc-per-file"`: One Haystack Document per file. All elements are concatenated into one text field. | ||
`"one-doc-per-page"`: One Haystack Document per page. | ||
All elements on a page are concatenated into one text field. | ||
`"one-doc-per-element"`: One Haystack Document per element. Each element is converted to a Haystack Document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bulleted lists inside a specific parameter do not play well with pydoc-markdown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this should've been an enum instead of a string literal. We should open an issue to convert this (later).
`"one-doc-per-file"`: One Haystack Document per file. All elements are concatenated into one text field. | ||
`"one-doc-per-page"`: One Haystack Document per page. | ||
All elements on a page are concatenated into one text field. | ||
`"one-doc-per-element"`: One Haystack Document per element. Each element is converted to a Haystack Document. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this should've been an enum instead of a string literal. We should open an issue to convert this (later).
...tions/unstructured/src/haystack_integrations/components/converters/unstructured/converter.py
Outdated
Show resolved
Hide resolved
…/converters/unstructured/converter.py Co-authored-by: Madeesh Kannan <[email protected]>
fixes deepset-ai/haystack#7150