Incorrect Import Path in retrieval main.py for VectorItem, SearchResult, and GetResult #2701

Closed
opened 2025-11-11 15:12:39 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @overtunned on GitHub (Nov 20, 2024).

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). 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!

@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#2701