captain-awesome
commited on
Commit
•
294aa16
1
Parent(s):
521f252
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from langchain_community.document_loaders import WebBaseLoader
|
|
4 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
5 |
from langchain_community.vectorstores import Chroma
|
6 |
# from langchain_openai import OpenAIEmbeddings, ChatOpenAI
|
7 |
-
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
8 |
from langchain.chains import create_history_aware_retriever, create_retrieval_chain
|
9 |
from langchain.chains.combine_documents import create_stuff_documents_chain
|
10 |
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
|
|
|
4 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
5 |
from langchain_community.vectorstores import Chroma
|
6 |
# from langchain_openai import OpenAIEmbeddings, ChatOpenAI
|
7 |
+
from langchain_core.prompts.chat import ChatPromptTemplate, MessagesPlaceholder
|
8 |
from langchain.chains import create_history_aware_retriever, create_retrieval_chain
|
9 |
from langchain.chains.combine_documents import create_stuff_documents_chain
|
10 |
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
|