2023-05-13 00:22:21 +03:00
|
|
|
from .common import process_file
|
2023-05-13 00:05:31 +03:00
|
|
|
from langchain.document_loaders.csv_loader import CSVLoader
|
|
|
|
|
|
|
|
def process_csv(vector_store, file):
|
2023-05-13 00:22:21 +03:00
|
|
|
return process_file(vector_store, file, CSVLoader, ".csv")
|