QuentinL52 commited on
Commit
e075a63
·
verified ·
1 Parent(s): 4681c12

Update src/services/cv_service.py

Browse files
Files changed (1) hide show
  1. src/services/cv_service.py +1 -2
src/services/cv_service.py CHANGED
@@ -9,12 +9,11 @@ from src.agents.scoring_agent import SimpleScoringAgent
9
 
10
  logger = logging.getLogger(__name__)
11
 
12
- async def parse_cv(pdf_path: str, user_id: str = None) -> Dict[str, Any]:
13
  # Initialize orchestrator and scoring agent here or pass them as arguments
14
  # For simplicity, initializing them here. In a real app, consider dependency injection.
15
  orchestrator = CVAgentOrchestrator(llm=None) # LLM will be passed to agents directly
16
  scoring_agent = SimpleScoringAgent()
17
-
18
  cv_text = load_pdf(pdf_path)
19
  if not cv_text or not cv_text.strip():
20
  return _create_fallback_data()
 
9
 
10
  logger = logging.getLogger(__name__)
11
 
12
+ async def parse_cv(pdf_path: str) -> Dict[str, Any]:
13
  # Initialize orchestrator and scoring agent here or pass them as arguments
14
  # For simplicity, initializing them here. In a real app, consider dependency injection.
15
  orchestrator = CVAgentOrchestrator(llm=None) # LLM will be passed to agents directly
16
  scoring_agent = SimpleScoringAgent()
 
17
  cv_text = load_pdf(pdf_path)
18
  if not cv_text or not cv_text.strip():
19
  return _create_fallback_data()