langchain.js
    Preparing search index...

    Class representing a document loader that loads a specific file from Azure Blob Storage. It extends the BaseDocumentLoader class and implements the DocumentLoader interface.

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

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Parameters

      • __namedParameters: AzureBlobStorageFileLoaderConfig

      Returns AzureBlobStorageFileLoader

    Accessors

    • get lc_secrets(): { [key: string]: string }

      Returns { [key: string]: string }

    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.