Added documentation (#219)

This commit is contained in:
aaishikdutta
2023-07-11 08:31:42 +05:30
committed by GitHub
parent eda28cc491
commit 6936d6983d
15 changed files with 21 additions and 1 deletions

View File

@@ -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()