tushifire commited on
Commit
f77e6d0
1 Parent(s): ff9ef40
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def bot_message(history, docs):
55
  user_question = history[-1][0]
56
  splits = text_splitter.split_documents(docs)
57
  vectorstore = Chroma.from_documents(documents=splits, embedding=CohereEmbeddings(model="embed-english-light-v3.0",
58
- cohere_api_key="COHERE_API_KEY"))
59
  retriever = vectorstore.as_retriever()
60
 
61
  rag_chain = (
 
55
  user_question = history[-1][0]
56
  splits = text_splitter.split_documents(docs)
57
  vectorstore = Chroma.from_documents(documents=splits, embedding=CohereEmbeddings(model="embed-english-light-v3.0",
58
+ cohere_api_key=COHERE_API_KEY))
59
  retriever = vectorstore.as_retriever()
60
 
61
  rag_chain = (