mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-17 03:19:59 +03:00
8 lines
254 B
Python
8 lines
254 B
Python
from .common import process_file
|
|
from langchain.document_loaders.csv_loader import CSVLoader
|
|
from fastapi import UploadFile
|
|
|
|
|
|
def process_csv(file: UploadFile, enable_summarization):
|
|
return process_file(file, CSVLoader, ".csv", enable_summarization)
|