mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 23:32:40 +02:00
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:
parent
59cab99737
commit
5045b7433a
14 changed files with 14 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue