captain-awesome commited on
Commit
77432f1
1 Parent(s): 294aa16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import streamlit as st
 
2
  from langchain_core.messages import AIMessage, HumanMessage
3
  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.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
 
1
  import streamlit as st
2
+ import langchain_core
3
  from langchain_core.messages import AIMessage, HumanMessage
4
  from langchain_community.document_loaders import WebBaseLoader
5
  from langchain.text_splitter import RecursiveCharacterTextSplitter
6
  from langchain_community.vectorstores import Chroma
7
  # from langchain_openai import OpenAIEmbeddings, ChatOpenAI
8
+ from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
9
  from langchain.chains import create_history_aware_retriever, create_retrieval_chain
10
  from langchain.chains.combine_documents import create_stuff_documents_chain
11
  from langchain_community.embeddings import HuggingFaceBgeEmbeddings