Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,9 @@ os.environ["LANGCHAIN_API_KEY"] = st.secrets['OPENAI_API_KEY']
|
|
10 |
from langchain.prompts import PromptTemplate
|
11 |
from langchain.chains.llm import LLMChain
|
12 |
from langchain.chains.combine_documents.stuff import StuffDocumentsChain
|
13 |
-
from langchain.chat_models import ChatOpenAI
|
14 |
from langchain.chains import RetrievalQA
|
15 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
|
|
16 |
from langchain_community.vectorstores import FAISS
|
17 |
from langchain_community.document_loaders import HuggingFaceDatasetLoader
|
18 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
|
10 |
from langchain.prompts import PromptTemplate
|
11 |
from langchain.chains.llm import LLMChain
|
12 |
from langchain.chains.combine_documents.stuff import StuffDocumentsChain
|
|
|
13 |
from langchain.chains import RetrievalQA
|
14 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
15 |
+
from langchain_community.chat_models import ChatOpenAI
|
16 |
from langchain_community.vectorstores import FAISS
|
17 |
from langchain_community.document_loaders import HuggingFaceDatasetLoader
|
18 |
from langchain_community.embeddings import HuggingFaceEmbeddings
|