refactor: Move utility services to a dedicated 'services' module

- Updated import paths for LLM, connector, query, and streaming services to reflect their new location in the 'services' module.
- Removed obsolete utility service files that have been migrated.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-07-06 17:51:24 -07:00
parent 59cab99737
commit 5045b7433a
14 changed files with 14 additions and 13 deletions

View file

@ -1,4 +1,4 @@
from app.utils.reranker_service import RerankerService
from app.services.reranker_service import RerankerService
from .configuration import Configuration
from langchain_core.runnables import RunnableConfig
from .state import State
@ -85,7 +85,7 @@ async def answer_question(state: State, config: RunnableConfig) -> Dict[str, Any
Returns:
Dict containing the final answer in the "final_answer" key.
"""
from app.utils.llm_service import get_user_fast_llm
from app.services.llm_service import get_user_fast_llm
# Get configuration and relevant documents from configuration
configuration = Configuration.from_runnable_config(config)