mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #10512] [CLOSED] fix: Rag dedupe (again) #61406
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10512
Author: @mkhludnev
Created: 2/21/2025
Status: ❌ Closed
Base:
dev← Head:rag-dedupe-again📝 Commits (3)
a026686dedupe results from multiple queries66f4e02fix dedupea66ffa0format📊 Changes
1 file changed (+30 additions, -13 deletions)
View changed files
📝
backend/open_webui/retrieval/utils.py(+30 -13)📄 Description
RAG: result duplicates
Discussed: https://github.com/open-webui/open-webui/discussions/10188
Previous attempt #10272 and the failure #10428
This time I use a document hash and metadata hash (but optional) for deduplication.
Changelog Entry
Description
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.