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

[webcrawler] Support emitting non HTML documents (like PDFs...) #739

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

eolivelli
Copy link
Member

Summary:

  • add new option "allow-non-html-contents" to the webcrawler-source

Please note that in LangStream it is expected that the source only emits the records, it is up to the next agent in the pipeline to extract the text or manipulate the contents.

The "text-extractor" agent already handles pretty well PDF documents, thanks to Apache Tika

@eolivelli eolivelli merged commit 850b3ca into main Nov 30, 2023
10 checks passed
@eolivelli eolivelli deleted the impl/webcralwer-non-html branch November 30, 2023 10:00
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant