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

@@ -6,6 +6,7 @@ from embedchain.utils import clean_string
class PdfFileLoader:
def load_data(self, url):
''' Load data from a PDF file. '''
loader = PyPDFLoader(url)
output = []
pages = loader.load_and_split()