safety-copilot / loaders /powerpoint.py
Asankhaya Sharma
initial commit
4e00df7
raw
history blame
No virus
257 Bytes
from .common import process_file
from langchain.document_loaders import UnstructuredPowerPointLoader
def process_powerpoint(vector_store, file, stats_db):
return process_file(vector_store, file, UnstructuredPowerPointLoader, ".pptx", stats_db=stats_db)