From 464d0fb0161188fa0e73b9431241c63ee8ef6bf5 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 7 Jan 2024 02:49:13 -0800 Subject: [PATCH] fix: update langchain.document_loaders --- backend/apps/rag/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/rag/main.py b/backend/apps/rag/main.py index 02caf12b..a59aac6c 100644 --- a/backend/apps/rag/main.py +++ b/backend/apps/rag/main.py @@ -13,7 +13,7 @@ import os, shutil from chromadb.utils import embedding_functions -from langchain.document_loaders import WebBaseLoader, TextLoader, PyPDFLoader +from langchain_community.document_loaders import WebBaseLoader, TextLoader, PyPDFLoader from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain_community.vectorstores import Chroma from langchain.chains import RetrievalQA