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: support unstructured_kwargs for s3 loader #15473

Conversation

chyroc
Copy link
Contributor

@chyroc chyroc commented Jan 3, 2024

fix #15472

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 3, 2024
Copy link

vercel bot commented Jan 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2024 9:59pm

@dosubot dosubot bot added Ɑ: doc loader Related to document loader module (not documentation) 🤖:improvement Medium size change to existing code to handle new use-cases 🔌: aws Primarily related to Amazon Web Services (AWS) integrations labels Jan 3, 2024
Copy link
Collaborator

@baskaryan baskaryan left a comment

Choose a reason for hiding this comment

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

cc @3coins

@@ -83,7 +84,7 @@ def __init__(
the client will be the result of calling ``merge()`` on the
default config with the config provided to this call.
"""
super().__init__()
super().__init__(**unstructured_kwargs)
Copy link
Collaborator

Choose a reason for hiding this comment

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

could we add documentation to the docstring? otherwise looks good to me!

@hwchase17 hwchase17 closed this Jan 30, 2024
@baskaryan baskaryan reopened this Jan 30, 2024
@kulaone
Copy link

kulaone commented Mar 27, 2024

@hwchase17 I believe this minor adjustment has the potential to overcome a significant challenge we've been facing. Would it be possible for someone to review and merge this change? I'm confident it will bring substantial improvements.

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Mar 27, 2024
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Mar 27, 2024
@baskaryan baskaryan enabled auto-merge (squash) March 27, 2024 21:59
@baskaryan baskaryan merged commit be2adb1 into langchain-ai:master Mar 27, 2024
59 checks passed
gkorland pushed a commit to FalkorDB/langchain that referenced this pull request Mar 30, 2024
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌: aws Primarily related to Amazon Web Services (AWS) integrations Ɑ: doc loader Related to document loader module (not documentation) 🤖:improvement Medium size change to existing code to handle new use-cases lgtm PR looks good. Use to confirm that a PR is ready for merging. size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S3FileLoader doesn't provide the way of passing extra (unstructured_kwargs) parameters
4 participants