Spaces:
Sleeping
Sleeping
Update src/crew/crew_pool.py
Browse files- src/crew/crew_pool.py +5 -16
src/crew/crew_pool.py
CHANGED
|
@@ -1,16 +1,6 @@
|
|
| 1 |
import json
|
| 2 |
from crewai import Crew, Process
|
| 3 |
-
from .agents import
|
| 4 |
-
report_generator_agent,
|
| 5 |
-
skills_extractor_agent,
|
| 6 |
-
experience_extractor_agent,
|
| 7 |
-
project_extractor_agent,
|
| 8 |
-
education_extractor_agent,
|
| 9 |
-
ProfileBuilderAgent,
|
| 10 |
-
informations_personnelle_agent,
|
| 11 |
-
reconversion_detector_agent,
|
| 12 |
-
validation_agent
|
| 13 |
-
)
|
| 14 |
from .tasks import generate_report_task
|
| 15 |
from typing import List
|
| 16 |
|
|
@@ -52,20 +42,19 @@ def analyse_cv(cv_content: str) -> json:
|
|
| 52 |
crew = Crew(
|
| 53 |
agents=[
|
| 54 |
informations_personnelle_agent,
|
| 55 |
-
experience_extractor_agent,
|
| 56 |
-
project_extractor_agent,
|
| 57 |
-
separation_validator_agent,
|
| 58 |
skills_extractor_agent,
|
|
|
|
|
|
|
| 59 |
education_extractor_agent,
|
| 60 |
reconversion_detector_agent,
|
|
|
|
| 61 |
ProfileBuilderAgent
|
| 62 |
],
|
| 63 |
tasks=[
|
| 64 |
task_extract_informations,
|
|
|
|
| 65 |
task_extract_experience,
|
| 66 |
task_extract_projects,
|
| 67 |
-
task_validate_separation,
|
| 68 |
-
task_extract_skills,
|
| 69 |
task_extract_education,
|
| 70 |
task_detect_reconversion,
|
| 71 |
task_build_profile
|
|
|
|
| 1 |
import json
|
| 2 |
from crewai import Crew, Process
|
| 3 |
+
from .agents import report_generator_agent, skills_extractor_agent, experience_extractor_agent, project_extractor_agent, education_extractor_agent, ProfileBuilderAgent, informations_personnelle_agent, reconversion_detector_agent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
from .tasks import generate_report_task
|
| 5 |
from typing import List
|
| 6 |
|
|
|
|
| 42 |
crew = Crew(
|
| 43 |
agents=[
|
| 44 |
informations_personnelle_agent,
|
|
|
|
|
|
|
|
|
|
| 45 |
skills_extractor_agent,
|
| 46 |
+
experience_extractor_agent,
|
| 47 |
+
project_extractor_agent,
|
| 48 |
education_extractor_agent,
|
| 49 |
reconversion_detector_agent,
|
| 50 |
+
|
| 51 |
ProfileBuilderAgent
|
| 52 |
],
|
| 53 |
tasks=[
|
| 54 |
task_extract_informations,
|
| 55 |
+
task_extract_skills,
|
| 56 |
task_extract_experience,
|
| 57 |
task_extract_projects,
|
|
|
|
|
|
|
| 58 |
task_extract_education,
|
| 59 |
task_detect_reconversion,
|
| 60 |
task_build_profile
|