NavyDevilDoc commited on
Commit
417ffc9
·
verified ·
1 Parent(s): 8e0483e

Update src/app.py

Browse files

removed specific reference to k in the "if use_rag:" block to tie it directly to rag_engine.py versus having to change it every time in both scripts

Files changed (1) hide show
  1. src/app.py +1 -2
src/app.py CHANGED
@@ -293,8 +293,7 @@ with tab2:
293
  # 1. Retrieve & Rerank (Now using the fixed function)
294
  retrieved_docs = rag_engine.search_knowledge_base(
295
  user_input,
296
- st.session_state.username,
297
- k=3
298
  )
299
 
300
  if retrieved_docs:
 
293
  # 1. Retrieve & Rerank (Now using the fixed function)
294
  retrieved_docs = rag_engine.search_knowledge_base(
295
  user_input,
296
+ st.session_state.username
 
297
  )
298
 
299
  if retrieved_docs: