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
S3 File Loader:Endpoint is missing in configuration #5337
Comments
The API reference documentation is automatically generated based on the source code. However, we are aware it has some limitations, especially around showing types for externally imported types/interfaces, like the one we see in this file: Is this issue regarding the API ref documentation not showing the types that |
You can configure it through Example: new S3Loader({
bucket: "my-document-bucket-123",
key: "AccountingOverview.pdf",
s3Config: {
region: "us-east-1",
endpoint: "your endpoint",
credentials: {
accessKeyId: "AKIAIOSFODNN7EXAMPLE",
secretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
},
},
unstructuredAPIURL: "http://localhost:8000/general/v0/general",
unstructuredAPIKey: "", // this will be soon required
}); |
@bracesproul @jeasonnow Thanks a lot, this was my problem and didn't notice. |
Checklist
Issue with current documentation:
According to the current configuration https://api.js.langchain.com/interfaces/langchain_document_loaders_web_s3.S3LoaderParams.html
The current configuration is:
So is it possible to configure the endpoint, which is optional?
Idea or request for content:
After querying @aws-sdk/client-s3, I am convinced that endpoint is an optional configuration.
The text was updated successfully, but these errors were encountered: