Skip to content

Commit

Permalink
Fix Dedupe (danswer-ai#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Jun 7, 2024
1 parent eacfd8f commit 6431764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/danswer/chat/process_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def _handle_search_tool_response_summary(
if not selected_search_docs:
top_docs = chunks_or_sections_to_search_docs(response_sumary.top_sections)

deduped_docs = top_docs
if dedupe_docs:
deduped_docs, dropped_inds = dedupe_documents(top_docs)

Expand Down

0 comments on commit 6431764

Please sign in to comment.