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 import TextLoader
|
|
|
|
|
|
|
|
def process_txt(vector_store, file):
|
2023-05-13 00:22:21 +03:00
|
|
|
return process_file(vector_store, file, TextLoader, ".txt")
|