Class representing a document loader that loads documents from an Azure Blob Storage container. It extends the BaseDocumentLoader class.

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Method to load documents from an Azure Blob Storage container. It creates a BlobServiceClient using the connection string, gets the container client using the container name, and iterates over the blobs in the container. For each blob, it creates an instance of AzureBlobStorageFileLoader and loads the documents using the loader. The loaded documents are concatenated to the docs array and returned.

    Returns Promise<Document[]>

    An array of loaded documents.

  • Loads the documents and splits them using a specified text splitter.

    Parameters

    • splitter: TextSplitter = ...

    Returns Promise<Document[]>

    A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.

Generated using TypeDoc