mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-30 21:28:56 +03:00
7 lines
188 B
Python
7 lines
188 B
Python
|
from .common import process_file
|
||
|
from langchain.document_loaders import PyPDFLoader
|
||
|
|
||
|
|
||
|
def process_pdf(vector_store, file):
|
||
|
return process_file(vector_store, file, PyPDFLoader, ".pdf")
|