⚠️ Deprecated ⚠️

This feature is deprecated and will be removed in the future.

It is not recommended for use.

  • Import from "@langchain/community/document_loaders/web/azure_blog_storage_file" instead. This entrypoint will be removed in 0.3.0. Class representing a document loader that loads a specific file from Azure Blob Storage. It extends the BaseDocumentLoader class and implements the DocumentLoader interface.

Example

const loader = new AzureBlobStorageFileLoader({
azureConfig: {
connectionString: "{connectionString}",
container: "{containerName}",
blobName: "{blobName}",
},
});
const docs = await loader.load();

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Method to load a specific file from Azure Blob Storage. It creates a temporary directory, constructs the file path, downloads the file, and loads the documents using the UnstructuredLoader. The loaded documents are returned, and the temporary directory is deleted.

    Returns Promise<Document[]>

    An array of documents loaded from the file in Azure Blob Storage.

Generated using TypeDoc