[GH-ISSUE #7075] Incorrect Import Path in retrieval main.py for VectorItem, SearchResult, and GetResult #69199

Closed
opened 2026-05-13 01:36:29 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @overtunned on GitHub (Nov 20, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7075

The import statement in the file appears to reference an incorrect module path. It currently reads:

from open_webui.apps.rag.vector.main import VectorItem, SearchResult, GetResult

This should be updated to:

from open_webui.apps.retrieval.vector.main import VectorItem, SearchResult, GetResult

02e94c8264/backend/open_webui/apps/retrieval/vector/dbs/opensearch.py (L4)

Originally created by @overtunned on GitHub (Nov 20, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7075 The import statement in the file appears to reference an incorrect module path. It currently reads: `from open_webui.apps.rag.vector.main import VectorItem, SearchResult, GetResult` This should be updated to: `from open_webui.apps.retrieval.vector.main import VectorItem, SearchResult, GetResult` https://github.com/open-webui/open-webui/blob/02e94c826440162e381cad382d3ac1b0eb2b3d73/backend/open_webui/apps/retrieval/vector/dbs/opensearch.py#L4
Author
Owner

@tjbck commented on GitHub (Nov 20, 2024):

Good catch, thanks!

<!-- gh-comment-id:2488684552 --> @tjbck commented on GitHub (Nov 20, 2024): Good catch, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69199