From 9232e0310276ecb19ab73529332bcb98adf4c864 Mon Sep 17 00:00:00 2001 From: Pascal Lim Date: Fri, 30 Aug 2024 22:29:45 +0200 Subject: [PATCH] fix imports --- backend/apps/rag/search/searchapi.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/apps/rag/search/searchapi.py b/backend/apps/rag/search/searchapi.py index 406fc9559..c776e31a6 100644 --- a/backend/apps/rag/search/searchapi.py +++ b/backend/apps/rag/search/searchapi.py @@ -1,11 +1,10 @@ -import json import logging from typing import Optional -import requests from urllib.parse import urlencode +import requests from apps.rag.search.main import SearchResult, get_filtered_results -from config import SRC_LOG_LEVELS +from env import SRC_LOG_LEVELS log = logging.getLogger(__name__) log.setLevel(SRC_LOG_LEVELS["RAG"])