inoid commited on
Commit
4cc0dc3
·
1 Parent(s): 960a48f

Update local changes

Browse files
Files changed (1) hide show
  1. seminar_edition_ai.py +2 -2
seminar_edition_ai.py CHANGED
@@ -195,8 +195,8 @@ def predictQuestionBuild(sermonTopic):
195
  doc = Document(page_content="text", metadata={"source": "local"})
196
 
197
  vectorstore = Chroma.from_documents(
198
- documents=[doc],
199
- embedding=embed_model,
200
  persist_directory="chroma_db_dir_sermon", # Local mode with in-memory storage only
201
  collection_name="sermon_lab_ai"
202
  )
 
195
  doc = Document(page_content="text", metadata={"source": "local"})
196
 
197
  vectorstore = Chroma.from_documents(
198
+ documents = [doc],
199
+ embedding = embed_model,
200
  persist_directory="chroma_db_dir_sermon", # Local mode with in-memory storage only
201
  collection_name="sermon_lab_ai"
202
  )