vislupus commited on
Commit
3e096bc
1 Parent(s): c0682fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from langchain.prompts import ChatPromptTemplate
5
  from langchain.chains import RetrievalQA, ConversationalRetrievalChain
6
  from langchain.memory import ConversationBufferMemory
7
  from langchain_huggingface.embeddings import HuggingFaceEmbeddings
8
- from langchain.vectorstores import Chroma
9
 
10
  def rag_retriever(message, history, system_prompt, num_sources=4, temperature=0):
11
  chat = ChatGroq(temperature=temperature, model_name="llama3-70b-8192", api_key=os.getenv("GROQ_API_KEY"))
 
5
  from langchain.chains import RetrievalQA, ConversationalRetrievalChain
6
  from langchain.memory import ConversationBufferMemory
7
  from langchain_huggingface.embeddings import HuggingFaceEmbeddings
8
+ from langchain_community.vectorstores import Chroma
9
 
10
  def rag_retriever(message, history, system_prompt, num_sources=4, temperature=0):
11
  chat = ChatGroq(temperature=temperature, model_name="llama3-70b-8192", api_key=os.getenv("GROQ_API_KEY"))