Added documentation (#219)
This commit is contained in:
@@ -2,6 +2,7 @@ from langchain.document_loaders import Docx2txtLoader
|
||||
|
||||
class DocxFileLoader:
|
||||
def load_data(self, url):
|
||||
''' Load data from a .docx file. '''
|
||||
loader = Docx2txtLoader(url)
|
||||
output = []
|
||||
data = loader.load()
|
||||
|
||||
Reference in New Issue
Block a user