bstraehle commited on
Commit
db5f00f
1 Parent(s): d128f0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -124,8 +124,8 @@ def invoke(openai_api_key, rag_option, prompt):
124
  db = document_retrieval_chroma(llm, prompt)
125
  result = rag_chain(llm, prompt, db)
126
  elif (rag_option == "MongoDB"):
127
- splits = document_loading_splitting()
128
- document_storage_mongodb(splits)
129
  db = document_retrieval_mongodb(llm, prompt)
130
  result = rag_chain(llm, prompt, db)
131
  else:
 
124
  db = document_retrieval_chroma(llm, prompt)
125
  result = rag_chain(llm, prompt, db)
126
  elif (rag_option == "MongoDB"):
127
+ #splits = document_loading_splitting()
128
+ #document_storage_mongodb(splits)
129
  db = document_retrieval_mongodb(llm, prompt)
130
  result = rag_chain(llm, prompt, db)
131
  else: