Skip to content

Commit 52dcbdc

Browse files
committed
Remove unnecessary display messages in PDF processing and UI components for a cleaner user experience.
1 parent 608fdbb commit 52dcbdc

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

ragadoc/enhanced_pdf_processor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ def display_citation_based_references(
376376
all_quotes = list(citation_quotes.values())
377377

378378
# Show found citations with improved display
379-
st.caption(f"Found {len(citation_quotes)} citation(s)")
380379
with st.expander("Found Citations", expanded=False):
381380
for num, quote in citation_quotes.items():
382381
# Clean display without technical details

ragadoc/ui_chat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ def generate_response_with_ui(prompt, current_chat):
256256
# Clear the entire loading container (which includes the stop button)
257257
# This happens for both stopped and completed generation
258258

259-
# Show method information
260-
st.info("🔍 Response generated using RAG (semantic search)")
259+
# Method information removed - not needed for end users
261260

262261
# Return the final answer (without reasoning tags) for storage
263262
final_answer = answer_content if reasoning_started else full_response

ragadoc/ui_document.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def render_document_upload():
5050

5151
if success:
5252
st.success(f"Document '{uploaded_file.name}' processed successfully!")
53-
st.info(f"Extracted {len(extracted_text.split()):,} words")
5453

5554
# Process with RAG system - now required
5655
if st.session_state.rag_system and getattr(st.session_state.rag_system, 'index', None) is not None:

0 commit comments

Comments
 (0)