Class DirectoryLoader

java.lang.Object
com.hw.langchain.document.loaders.base.BaseLoader
com.hw.langchain.document.loaders.directory.DirectoryLoader

public class DirectoryLoader extends BaseLoader
Load documents from a directory.
Author:
HamaWhite
  • Constructor Details

    • DirectoryLoader

      public DirectoryLoader()
  • Method Details

    • load

      public List<Document> load()
      Description copied from class: BaseLoader
      Load data into document objects.
      Specified by:
      load in class BaseLoader
      Returns:
      a List which is materialized in memory.