Spaces:
Sleeping
Sleeping
Update src/crew/crew_pool.py
Browse files- src/crew/crew_pool.py +6 -17
src/crew/crew_pool.py
CHANGED
|
@@ -38,35 +38,24 @@ def run_interview_analysis(conversation_history: list, job_description_text: str
|
|
| 38 |
|
| 39 |
return final_report
|
| 40 |
|
| 41 |
-
def analyse_cv(cv_content: str) ->
|
| 42 |
-
from .agents import (
|
| 43 |
-
informations_personnelle_agent, skills_extractor_agent,
|
| 44 |
-
experience_extractor_agent, project_extractor_agent,
|
| 45 |
-
education_extractor_agent, reconversion_detector_agent,
|
| 46 |
-
ProfileBuilderAgent
|
| 47 |
-
)
|
| 48 |
-
from .tasks import (
|
| 49 |
-
task_extract_informations, task_extract_skills,
|
| 50 |
-
task_extract_experience, task_extract_projects,
|
| 51 |
-
task_extract_education, task_detect_reconversion,
|
| 52 |
-
task_build_profile
|
| 53 |
-
)
|
| 54 |
-
|
| 55 |
crew = Crew(
|
| 56 |
agents=[
|
| 57 |
informations_personnelle_agent,
|
| 58 |
-
|
| 59 |
-
experience_extractor_agent,
|
| 60 |
project_extractor_agent,
|
|
|
|
|
|
|
| 61 |
education_extractor_agent,
|
| 62 |
reconversion_detector_agent,
|
| 63 |
ProfileBuilderAgent
|
| 64 |
],
|
| 65 |
tasks=[
|
| 66 |
task_extract_informations,
|
| 67 |
-
task_extract_skills,
|
| 68 |
task_extract_experience,
|
| 69 |
task_extract_projects,
|
|
|
|
|
|
|
| 70 |
task_extract_education,
|
| 71 |
task_detect_reconversion,
|
| 72 |
task_build_profile
|
|
|
|
| 38 |
|
| 39 |
return final_report
|
| 40 |
|
| 41 |
+
def analyse_cv(cv_content: str) -> json:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
crew = Crew(
|
| 43 |
agents=[
|
| 44 |
informations_personnelle_agent,
|
| 45 |
+
experience_extractor_agent,
|
|
|
|
| 46 |
project_extractor_agent,
|
| 47 |
+
separation_validator_agent,
|
| 48 |
+
skills_extractor_agent,
|
| 49 |
education_extractor_agent,
|
| 50 |
reconversion_detector_agent,
|
| 51 |
ProfileBuilderAgent
|
| 52 |
],
|
| 53 |
tasks=[
|
| 54 |
task_extract_informations,
|
|
|
|
| 55 |
task_extract_experience,
|
| 56 |
task_extract_projects,
|
| 57 |
+
task_validate_separation,
|
| 58 |
+
task_extract_skills,
|
| 59 |
task_extract_education,
|
| 60 |
task_detect_reconversion,
|
| 61 |
task_build_profile
|