File size: 1,324 Bytes
7ad07ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586b608
7ad07ce
 
 
 
 
 
 
 
 
 
 
586b608
 
 
 
 
 
 
 
 
 
 
 
 
7ad07ce
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import os
from app.graph import graph
import uuid


jd_text="""Job Title: Backend Developer

Company name: CodeForge
We are hiring a Backend Developer to build scalable APIs and backend systems.

Responsibilities:
- Develop REST APIs using FastAPI
- Design and manage PostgreSQL databases
- Implement authentication and authorization systems
- Optimize performance and scalability

Requirements:
- Strong knowledge of Python
- Experience with FastAPI or Django
- Good understanding of SQL and database design
- Familiarity with Docker

Constraints:
- Location: Pune only
- Full-time role """


initial_input = {
    "candidate_name": "Chirayu Jain",
    "resume_text": None,
    "job_description": jd_text,
    "file_path": r"C:\Users\ATHARVA\Downloads\my codes\web\AdaptiveEngineService\AI_Engine_Evaluation\Testcases\Testresume\ChirayuResume.pdf",
    "resume_data": None,
    "extraction_error": None,
    "JobDescriptionExtract_data": None,
    "skill_gap_analysis_data": None   
}


THREAD_ID = str(uuid.uuid4())

config = {"configurable": {"thread_id": THREAD_ID}}

# Change THREAD_ID to config
# final_result = graph.invoke(initial_input, config=config)


# print(final_result['resume_data'])



# print()

# print(final_result['skill_gap_analysis_data'])


# print()


# print(final_result['final_roadmap'])