Multimodal_v2 / initiate.py
NEXAS's picture
Rename intiate.py to initiate.py
ccdc1c2 verified
raw
history blame
419 Bytes
from utils.ingest_image import extract_and_store_images
from utils.ingest_text import create_vector_database
from utils.ingest_video import initiate_video
def process_pdf(pdf_path,video_path):
image_collection = extract_and_store_images(pdf_path)
text_collection = create_vector_database(pdf_path)
video_collection = initiate_video(video_path)
return image_collection, text_collection, video_collection