mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 21:41:05 -06:00
[GH-ISSUE #7075] Incorrect Import Path in retrieval main.py for VectorItem, SearchResult, and GetResult
#85335
Reference in New Issue
Block a user
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, GetResultThis should be updated to:
from open_webui.apps.retrieval.vector.main import VectorItem, SearchResult, GetResulthttps://github.com/open-webui/open-webui/blob/02e94c826440162e381cad382d3ac1b0eb2b3d73/backend/open_webui/apps/retrieval/vector/dbs/opensearch.py#L4
@tjbck commented on GitHub (Nov 20, 2024):
Good catch, thanks!