The following code demonstrates how to load an object from the Huawei OBS (Object Storage Service) as document.Documentation Index
Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
Use this file to discover all available pages before exploring further.
Each Loader with Separate Authentication Information
If you don’t need to reuse OBS connections between different loaders, you can directly configure theconfig. The loader will use the config information to initialize its own OBS client.
Get Authentication Information from ECS
If your langchain is deployed on Huawei Cloud ECS and Agency is set up, the loader can directly get the security token from ECS without needing access key and secret key.Access a Publicly Accessible Object
If the object you want to access allows anonymous user access (anonymous users haveGetObject permission), you can directly load the object without configuring the config parameter.