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