quivr/loaders/docx.py

5 lines
223 B
Python
Raw Normal View History

from .common import process_file
from langchain.document_loaders import Docx2txtLoader
2023-05-17 13:12:52 +03:00
def process_docx(vector_store, file, stats_db):
return process_file(vector_store, file, Docx2txtLoader, ".docx", stats_db=stats_db)