diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index 7a8047c264..fdf9b7371b 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -796,7 +796,7 @@ def process_file( file_path = file.meta.get("path", None) if file_path: if os.getenv('H2OGPT_LOADERS'): - from backend.open_webui.apps.retrieval.function_client import get_data_h2ogpt + from function_client import get_data_h2ogpt docs, known_type = get_data_h2ogpt(file.filename, file.meta.get("content_type"), file_path) else: loader = Loader(