mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-27 18:32:55 +03:00
5 lines
184 B
Python
5 lines
184 B
Python
from .common import process_file
|
|
from langchain.document_loaders import TextLoader
|
|
|
|
def process_txt(vector_store, file):
|
|
return process_file(vector_store, file, TextLoader, ".txt") |