mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-12 00:43:31 -05:00
Incorrect Import Path in retrieval main.py for VectorItem, SearchResult, and GetResult
#2701
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?
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, GetResultThis should be updated to:
from open_webui.apps.retrieval.vector.main import VectorItem, SearchResult, GetResult02e94c8264/backend/open_webui/apps/retrieval/vector/dbs/opensearch.py (L4)@tjbck commented on GitHub (Nov 20, 2024):
Good catch, thanks!