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

feat: Add Unstructured Component to Document Loaders #3308

Merged
merged 12 commits into from
Aug 19, 2024

Conversation

erichare
Copy link
Collaborator

@erichare erichare commented Aug 13, 2024

This pull request adds an Unstructured component as a document loader, using the langchain library. Question: Can we have a file picker as a component? Right now i just used a StrInput for providing a file path, but would be cool if we could just choose files directly.

Copy link
Contributor

Pull Request Validation Report

This comment is automatically generated by Conventional PR

Whitelist Report

Whitelist Active Result
Pull request is a draft and should be ignored
Pull request is made by a whitelisted user and should be ignored
Pull request is submitted by a bot and should be ignored
Pull request is submitted by administrators and should be ignored

Result

Pull request matches with one (or more) enabled whitelist criteria. Pull request validation is skipped.

Last Modified at 13 Aug 24 15:46 UTC

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3308.dmtpw4p5recq1.amplifyapp.com

@ogabrielluiz
Copy link
Contributor

Hey @erichare

We have the FileInput which you have to pass file_types and it will let you open a file picker.

@erichare
Copy link
Collaborator Author

Fantastic @ogabrielluiz . i missed it. i'll update this shortly 😄

@erichare erichare changed the title FEAT: Add Unstructured Component to Data Loaders FEAT: Add Unstructured Component to Document Loaders Aug 13, 2024
@ogabrielluiz ogabrielluiz changed the title FEAT: Add Unstructured Component to Document Loaders feat: Add Unstructured Component to Document Loaders Aug 14, 2024
@github-actions github-actions bot added the enhancement New feature or request label Aug 14, 2024
@erichare erichare marked this pull request as ready for review August 14, 2024 14:48
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 14, 2024
Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @erichare

Thank you. Looks really good.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 16, 2024
@ogabrielluiz ogabrielluiz merged commit 8accf4c into langflow-ai:main Aug 19, 2024
28 checks passed
@erichare erichare deleted the feat/unstructured-component branch October 22, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants