tdecae commited on
Commit
a8e7030
1 Parent(s): 1563e07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=10)
39
  docs = splitter.split_documents(docs)
40
 
41
  # Convert the document chunks to embedding and save them to the vector store
42
- vectorstore = Chroma.from_documents(docs, embedding=OpenAIEmbeddings(), persist_directory="./data")
43
  vectorstore.persist()
44
 
45
  chain = ConversationalRetrievalChain.from_llm(
 
39
  docs = splitter.split_documents(docs)
40
 
41
  # Convert the document chunks to embedding and save them to the vector store
42
+ vectorstore = Chroma.from_documents(docs, embedding=OpenAIEmbeddings(), persist_directory="./db")
43
  vectorstore.persist()
44
 
45
  chain = ConversationalRetrievalChain.from_llm(