alexkueck commited on
Commit
5158b08
1 Parent(s): 03cb932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -139,8 +139,8 @@ def invoke(openai_api_key, rag_option, prompt):
139
  openai_api_key = openai_api_key,
140
  temperature = 0)
141
  if (rag_option == "Chroma"):
142
- splits = document_loading_splitting()
143
- document_storage_chroma(splits)
144
  db = document_retrieval_chroma(llm, prompt)
145
  result = rag_chain(llm, prompt, db)
146
  elif (rag_option == "MongoDB"):
 
139
  openai_api_key = openai_api_key,
140
  temperature = 0)
141
  if (rag_option == "Chroma"):
142
+ #splits = document_loading_splitting()
143
+ #document_storage_chroma(splits)
144
  db = document_retrieval_chroma(llm, prompt)
145
  result = rag_chain(llm, prompt, db)
146
  elif (rag_option == "MongoDB"):