Class DirectoryLoader
java.lang.Object
com.hw.langchain.document.loaders.base.BaseLoader
com.hw.langchain.document.loaders.directory.DirectoryLoader
Load documents from a directory.
- Author:
- HamaWhite
-
Constructor Summary
-
Method Summary
Methods inherited from class com.hw.langchain.document.loaders.base.BaseLoader
errorMessage
-
Constructor Details
-
DirectoryLoader
public DirectoryLoader()
-
-
Method Details
-
load
Description copied from class:BaseLoader
Load data into document objects.- Specified by:
load
in classBaseLoader
- Returns:
- a List which is materialized in memory.
-