Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ from langchain_community.document_loaders import PyPDFDirectoryLoader
|
|
23 |
# This covers how to load all documents in a directory.
|
24 |
# Under the hood, by default this uses the UnstructuredLoader.
|
25 |
from langchain_community.document_loaders import DirectoryLoader
|
|
|
26 |
|
27 |
from langchain_community.vectorstores import FAISS
|
28 |
# from langchain.vectorstores import Chroma
|
|
|
23 |
# This covers how to load all documents in a directory.
|
24 |
# Under the hood, by default this uses the UnstructuredLoader.
|
25 |
from langchain_community.document_loaders import DirectoryLoader
|
26 |
+
from langchain_community.document_loaders import TextLoader
|
27 |
|
28 |
from langchain_community.vectorstores import FAISS
|
29 |
# from langchain.vectorstores import Chroma
|