2023-05-13 01:25:12 +03:00
|
|
|
from .common import process_file
|
|
|
|
from langchain.document_loaders import PyPDFLoader
|
|
|
|
|
|
|
|
|
2023-05-17 13:12:52 +03:00
|
|
|
def process_pdf(vector_store, file, stats_db):
|
|
|
|
return process_file(vector_store, file, PyPDFLoader, ".pdf", stats_db=stats_db)
|