diff --git "a/Notebooks/CodeForge.ipynb" "b/Notebooks/CodeForge.ipynb" deleted file mode 100644--- "a/Notebooks/CodeForge.ipynb" +++ /dev/null @@ -1,3248 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "e02e1b00", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "" - ] - }, - "execution_count": 1, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "import os\n", - "import cloudinary\n", - "import cloudinary.uploader\n", - "import requests\n", - "from io import BytesIO\n", - "from dotenv import load_dotenv\n", - "\n", - "load_dotenv()\n", - "\n", - "# Explicitly configure using your 3 credentials\n", - "cloudinary.config( \n", - " cloud_name = os.getenv('CLOUDINARY_CLOUD_NAME'), \n", - " api_key = os.getenv('CLOUDINARY_API_KEY'), \n", - " api_secret = os.getenv('CLOUDINARY_API_SECRET'),\n", - " secure = True\n", - ")\n" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "c11377c5", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "❌ Upload failed: [Errno 2] No such file or directory: 'c:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\python\\\\machine_learning\\\\Learning_Files\\\\ChirayuResume.pdf'\n" - ] - } - ], - "source": [ - "import os\n", - "import cloudinary\n", - "import cloudinary.uploader\n", - "from dotenv import load_dotenv\n", - "\n", - "# 1. Load credentials from your .env file\n", - "load_dotenv()\n", - "\n", - "cloudinary.config( \n", - " cloud_name = os.getenv('CLOUDINARY_CLOUD_NAME'), \n", - " api_key = os.getenv('CLOUDINARY_API_KEY'), \n", - " api_secret = os.getenv('CLOUDINARY_API_SECRET'),\n", - " secure = True\n", - ")\n", - "\n", - "# 2. Set your variables\n", - "resume_path = r\"c:\\Users\\ATHARVA\\Downloads\\my codes\\python\\machine_learning\\Learning_Files\\ChirayuResume.pdf\"\n", - "thread_id = \"trial_thread_001\"\n", - "file_name = \"ChirayuResume\"\n", - "\n", - "# 3. Perform the upload\n", - "try:\n", - " response = cloudinary.uploader.upload(\n", - " resume_path,\n", - " folder = f\"threads/{thread_id}\",\n", - " public_id = file_name,\n", - " resource_type = \"image\" # Use \"image\" for PDFs to get previews in UI\n", - " )\n", - "\n", - " # 4. Create the URL from the response\n", - " pdf_url = response.get(\"secure_url\")\n", - " \n", - " print(f\"βœ… Upload Successful!\")\n", - " print(f\"πŸ“‚ Folder: threads/{thread_id}\")\n", - " print(f\"πŸ”— URL to push: {pdf_url}\")\n", - "\n", - "except Exception as e:\n", - " print(f\"❌ Upload failed: {e}\")\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "f986ff8f", - "metadata": {}, - "outputs": [], - "source": [ - "import requests\n", - "from io import BytesIO\n", - "\n", - "def get_pdf_for_ai(url):\n", - " # 1. Reach out to the URL\n", - " response = requests.get(url)\n", - " \n", - " if response.status_code == 200:\n", - " # 2. Convert the web response into a \"file-like\" object\n", - " pdf_stream = BytesIO(response.content)\n", - " print(\"βœ… PDF loaded into memory for processing!\")\n", - " return pdf_stream\n", - " else:\n", - " print(f\"❌ Failed to fetch PDF. Status: {response.status_code}\")\n", - " return None\n", - "\n", - "# --- USE YOUR ACTUAL URL ---\n", - "resume_url = \"https://res.cloudinary.com/dvxnazx8e/image/upload/v1774166452/threads/trial_thread_001/ChirayuResume.pdf\"\n", - "pdf_data = get_pdf_for_ai(resume_url)\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "938186bf", - "metadata": {}, - "outputs": [], - "source": [ - "import cloudinary\n", - "from cloudinary import Search\n", - "\n", - "\n", - "def get_resume_url(thread_id: str) -> str:\n", - " \"\"\"\n", - " Searches Cloudinary for the resume PDF in the thread's folder\n", - " and returns the secure URL.\n", - " \"\"\"\n", - " result = Search() \\\n", - " .expression(f'folder:\"threads/{thread_id}/*\"') \\\n", - " .sort_by('public_id', 'desc') \\\n", - " .max_results(1) \\\n", - " .execute()\n", - "\n", - " resources = result.get(\"resources\", [])\n", - "\n", - " if not resources:\n", - " raise FileNotFoundError(f\"No resume found for thread_id: {thread_id}\")\n", - "\n", - " pdf_url = resources[0][\"secure_url\"]\n", - " print(f\"Found resume: {pdf_url}\")\n", - " return pdf_url" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "f4340cbb", - "metadata": {}, - "outputs": [], - "source": [ - "import requests\n", - "import tempfile\n", - "import os\n", - "from langchain_community.document_loaders import PyMuPDFLoader\n", - "\n", - "thread_id = \"trial_thread_001\"\n", - "\n", - "try:\n", - " # Step 1 β€” Get URL from Cloudinary\n", - " url = get_resume_url(thread_id)\n", - " print(f\"URL: {url}\")\n", - "\n", - " # Step 2 β€” Fetch PDF bytes\n", - " response = requests.get(url)\n", - " response.raise_for_status()\n", - "\n", - " # Step 3 β€” Write to temp file\n", - " with tempfile.NamedTemporaryFile(delete=False, suffix=\".pdf\") as tmp:\n", - " tmp.write(response.content)\n", - " tmp_path = tmp.name\n", - "\n", - " # Step 4 β€” Load with PyMuPDF\n", - " loader = PyMuPDFLoader(tmp_path)\n", - " docs = loader.load()\n", - " resume_text = \"\\n\".join([doc.page_content for doc in docs])\n", - "\n", - " # Step 5 β€” Cleanup\n", - " os.remove(tmp_path)\n", - "\n", - " print(f\"Pages loaded: {len(docs)}\")\n", - " print(f\"Preview:\\n{resume_text[:500]}\")\n", - "\n", - "except FileNotFoundError as e:\n", - " print(f\"Not found: {e}\")\n", - "except Exception as e:\n", - " print(f\"Error: {e}\")" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "b010e49b", - "metadata": {}, - "outputs": [], - "source": [ - "from langchain_community.document_loaders import PyMuPDFLoader" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "7164448e", - "metadata": {}, - "outputs": [], - "source": [ - "resumepath=r\"c:\\Users\\ATHARVA\\Downloads\\my codes\\python\\machine_learning\\Learning_Files\\ChirayuResume.pdf\"" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "6d1029c0", - "metadata": {}, - "outputs": [], - "source": [ - "# import cloudinary.uploader\n", - "# import os\n", - "\n", - "# # Your resume path (using 'r' for raw string to handle backslashes correctly)\n", - "# resume_path = r\"c:\\Users\\ATHARVA\\Downloads\\my codes\\python\\machine_learning\\Learning_Files\\ChirayuResume.pdf\"\n", - "\n", - "# # Extract filename without extension for the public_id\n", - "# file_name = os.path.basename(resume_path).split('.')[0] \n", - "# thread_id = \"trial_thread_001\"\n", - "\n", - "# # Upload directly using the file path\n", - "# upload_result = cloudinary.uploader.upload(\n", - "# resume_path, \n", - "# folder=f\"threads/{thread_id}\",\n", - "# public_id=file_name,\n", - "# resource_type=\"auto\" # Handles the PDF correctly\n", - "# )\n", - "\n", - "# print(f\"Upload Successful! URL: {upload_result['secure_url']}\")\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "928b7237", - "metadata": {}, - "outputs": [], - "source": [ - "import os\n", - "import requests\n", - "import cloudinary\n", - "from io import BytesIO\n", - "\n", - "# --- 1. CONFIGURATION (Do this once) ---\n", - "# This tells the library your API Key/Secret. \n", - "# In a real app, put this in your .env file!\n", - "os.environ[\"CLOUDINARY_URL\"] = \"cloudinary://866996699612973:9Tp3hGjI9npawSIrN4Mu4hFRwLQ@dtscmobmv\"\n", - "\n", - "def get_pdf_content(file_url):\n", - " \"\"\"\n", - " This function expects an HTTPS url, NOT the cloudinary:// credentials.\n", - " \"\"\"\n", - " # Ensure the URL is a real web link\n", - " if not file_url.startswith(\"http\"):\n", - " raise ValueError(\"The URL must start with http or https!\")\n", - "\n", - " response = requests.get(file_url)\n", - " if response.status_code == 200:\n", - " return BytesIO(response.content)\n", - " else:\n", - " print(f\"Error: Could not download file. Status: {response.status_code}\")\n", - " return None\n", - "\n", - "# --- 2. TESTING ---\n", - "# This is what the MERN devs will send you:\n", - "test_resume_url = \"https://res.cloudinary.com\"\n", - "\n", - "# This will now work!\n", - "pdf_file = get_pdf_content(test_resume_url)\n" - ] - }, - { - "cell_type": "markdown", - "id": "26688a4a", - "metadata": {}, - "source": [ - "**Start**" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "b75a238a", - "metadata": {}, - "outputs": [], - "source": [ - "from typing import Any, Dict, List, Optional, Tuple,TypedDict,Literal\n", - "from typing import Annotated, Sequence\n", - "import os\n", - "from pydantic import BaseModel, Field\n", - "from langchain_groq import ChatGroq\n", - "from langchain_core.messages import SystemMessage, HumanMessage,ToolMessage,AIMessage\n", - "from langchain_core.tools import Tool\n", - "from langgraph.graph import StateGraph,END,START\n", - "from langgraph.types import interrupt \n", - "from langchain_core.prompts import ChatPromptTemplate,MessagesPlaceholder\n", - "from langchain_community.document_loaders import PyMuPDFLoader\n", - "import json\n", - "from pydantic import BaseModel, Field\n", - "from typing import List, Optional\n", - "from pprint import pprint\n", - "import os\n", - "from dotenv import load_dotenv\n", - "import json\n", - "from langchain_core.documents import Document\n", - "from langchain_huggingface import HuggingFaceEmbeddings\n", - "import os\n", - "from pinecone import Pinecone, ServerlessSpec\n", - "from pinecone_text.sparse import BM25Encoder\n", - "from langchain_community.embeddings import HuggingFaceEmbeddings\n", - "from langchain_community.retrievers import PineconeHybridSearchRetriever\n", - "import json\n", - "from langchain_core.documents import Document\n", - "from langchain_core.messages import BaseMessage\n", - "from langgraph.graph import add_messages\n", - "from langgraph.prebuilt import ToolNode ,tools_condition\n", - "import torch\n", - "from langgraph.checkpoint.memory import MemorySaver\n" - ] - }, - { - "cell_type": "markdown", - "id": "c7058b37", - "metadata": {}, - "source": [ - "Pydantic model of resume data extraction" - ] - }, - { - "cell_type": "markdown", - "id": "69094b87", - "metadata": {}, - "source": [ - "**Defining the pydantic models to be used**" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "7da5b1c6", - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "\n", - "\n", - "class Skill(BaseModel):\n", - " name: str = Field(..., description=\"Skill name e.g. Python, Docker\")\n", - " category: Optional[str] = Field(\n", - " None, description=\"Category: Backend | ML | DevOps | Frontend | Other\"\n", - " )\n", - "\n", - "\n", - "class ExperienceItem(BaseModel):\n", - " job_title: str = Field(\n", - " ...,\n", - " description=\"Role title of the candidate. Example: 'Backend Intern', 'Software Engineer'\"\n", - " )\n", - "\n", - " technologies: Optional[List[str]] = Field(\n", - " default_factory=list,\n", - " description=\"Technologies, tools, or frameworks used in this role\"\n", - " )\n", - "\n", - " responsibilities: Optional[List[str]] = Field(\n", - " default_factory=list,\n", - " description=\"Key responsibilities, tasks, or learnings in concise bullet points keep it summarised detail *not* required\"\n", - " )\n", - "\n", - "class ProjectItem(BaseModel):\n", - " name: str = Field(..., description=\"Project name\")\n", - " technologies: List[str] = Field(\n", - " default_factory=list,\n", - " description=\"Technologies used in this project hence learned during the project.\"\n", - " )\n", - " \n", - "\n", - "\n", - "\n", - "\n", - "\n", - "class ResumeExtract(BaseModel):\n", - "\n", - "\n", - " candidate_name:Optional[str]\n", - "\n", - " \n", - " job_title: Optional[str] = Field(\n", - " None,\n", - " description=(\n", - " \"Primary job title or role of the candidate. \"\n", - " \"Examples: 'AI Engineer', 'Data Scientist', \"\n", - " \"'Construction Project Manager', 'Healthcare Representative'. \"\n", - " \"Should reflect the most recent or current role.\"\n", - " )\n", - " )\n", - "\n", - " \n", - "\n", - " \n", - " skills: List[Skill] = Field(\n", - " default_factory=list,\n", - " description=\"Skills explicitly listed by the candidate\"\n", - " )\n", - " experience: List[ExperienceItem] = Field(\n", - " default_factory=list,\n", - " description=(\n", - " \"Each role as a separate entry. \"\n", - " \"No company name needed β€” focus on what was done and learned.\"\n", - " )\n", - " )\n", - " projects: List[ProjectItem] = Field(\n", - " default_factory=list,\n", - " description=\"Projects with technologies used and what was built\"\n", - " )\n", - "\n", - "\n", - "\n", - " is_fresher: bool = Field(\n", - " ...,\n", - " description=(\n", - " \"Set to True if the candidate lacks full-time professional employment. \"\n", - " \"Academic projects, certifications, and internships are considered \"\n", - " \"part of the learning phase and do not qualify a candidate as 'non-fresher' hence is_.\"\n", - " )\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "id": "2792c778", - "metadata": {}, - "source": [ - "remove certifications from schema" - ] - }, - { - "cell_type": "markdown", - "id": "99ac1086", - "metadata": {}, - "source": [ - " \"skills\": {\"__all__\": {\"category\"}}, # Drops 'category' from every skill\n", - " \"experience\": {\"__all__\": {\"responsibilities\"}}, # Drops bullet points\n", - " \"projects\": {\"__all__\": {\"what_was_built\"}}, # Drops project descriptions\n", - " \"certifications\": {\"__all__\": {\"issuer\"}} # Drops the issuer" - ] - }, - { - "cell_type": "markdown", - "id": "5b0756e0", - "metadata": {}, - "source": [ - "Pydantic model for job description" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "4b2441cd", - "metadata": {}, - "outputs": [], - "source": [ - "from pydantic import BaseModel, Field\n", - "from typing import List, Optional\n", - "\n", - "\n", - "class SkillRequirement(BaseModel):\n", - " name: str = Field(\n", - " ...,\n", - " description=\"Skill or technology required for the job (e.g., Python, SQL, React)\"\n", - " )\n", - " level: Optional[str] = Field(\n", - " None,\n", - " description=\"Expected proficiency level: beginner | intermediate | strong\"\n", - " )\n", - "\n", - "\n", - "class ResponsibilityItem(BaseModel):\n", - " description: str = Field(\n", - " ...,\n", - " description=\"Key responsibility or task expected from the candidate\"\n", - " )\n", - "\n", - "\n", - "class RequirementItem(BaseModel):\n", - " description: str = Field(\n", - " ...,\n", - " description=\"Qualification or requirement such as education, availability, etc.\"\n", - " )\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "\n", - "class JobDescriptionExtract(BaseModel):\n", - " job_title: Optional[str] = Field(\n", - " None,\n", - " description=\"Job role/title (e.g., AI/ML Intern, Web Developer)\"\n", - " )\n", - "\n", - " company_name: Optional[str] = Field(\n", - " None,\n", - " description=\"Company offering the job\"\n", - " )\n", - "\n", - " skills_required: Optional[List[SkillRequirement]] = Field(\n", - " None,\n", - " description=\"List of required skills and expected levels\"\n", - " )\n", - " responsibilities: Optional[List[ResponsibilityItem]] = Field(\n", - " None,\n", - " description=\"Key job responsibilities\"\n", - " )\n", - "\n", - " requirements: Optional[List[RequirementItem]] = Field(\n", - " None,\n", - " description=\"General requirements like availability, qualifications\"\n", - " )\n", - "\n" - ] - }, - { - "cell_type": "markdown", - "id": "64666596", - "metadata": {}, - "source": [ - "remove constraints" - ] - }, - { - "cell_type": "markdown", - "id": "4b12a3bc", - "metadata": {}, - "source": [ - "**Pydantic model for skill gap analysis**" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "4f1341e0", - "metadata": {}, - "outputs": [], - "source": [ - "class SkillGap(BaseModel):\n", - " skill_name: str = Field(\n", - " ..., \n", - " description=\"The specific technology or tool missing or requiring an upgrade (e.g., 'PostgreSQL')\"\n", - " )\n", - " \n", - " gap_type: Literal[\"missing_foundation\", \"needs_advanced_upgrade\"] = Field(\n", - " ...,\n", - " description=(\n", - " \"missing_foundation: Candidate has no recorded experience in this core requirement. \"\n", - " \"needs_advanced_upgrade: Candidate knows the basics but needs role-specific advanced training.\"\n", - " )\n", - " )\n", - " \n", - " priority: Literal[\"high\", \"medium\", \"low\"] = Field(\n", - " ...,\n", - " description=\"How critical this skill is for the target job role.\"\n", - " )\n", - " \n", - " reasoning: str = Field(\n", - " ...,\n", - " description=(\n", - " \"The 'Reasoning Trace'. This MUST be provided for every skill gap identified. \"\n", - " \"Explain exactly WHY this gap was flagged based on the resume vs JD comparison. \"\n", - " \"Example: 'JD requires FastAPI; candidate has Python experience but no record of using FastAPI framework.'\"\n", - " )\n", - " )\n", - " \n", - " target_competency: str = Field(\n", - " ...,\n", - " description=\"The specific outcome the candidate needs to reach (e.g., 'Build asynchronous database endpoints')\"\n", - " )\n", - "\n", - "class SkillGapAnalysis(BaseModel):\n", - " job_title: str = Field(..., description=\"The target role from the JD\")\n", - " candidate_name: Optional[str] = Field(None, description=\"Extracted name from resume\")\n", - " \n", - " analyzed_gaps: List[SkillGap] = Field(\n", - " default_factory=list,\n", - " description=\"List of specific technical gaps found between Resume and JD\"\n", - " )\n", - " \n", - " is_fresher_adaptation_needed: bool = Field(\n", - " default=False,\n", - " description=\"True if foundational corporate/soft-skill modules should be added to the path.\"\n", - " )\n", - " \n", - " executive_summary: str = Field(\n", - " ...,\n", - " description=\"A 2-3 sentence overview of the candidate's readiness and the primary focus of the onboarding.\"\n", - " )" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "18663bb3", - "metadata": {}, - "outputs": [], - "source": [ - "class RoadmapStep(BaseModel):\n", - " course_id: str\n", - " title: str\n", - " reasoning: str = Field(..., description=\"Why this specific course was chosen for user\")\n", - " is_foundation: bool\n", - " sequence_order: int = Field(..., description=\"The order in which the course should be taken\")\n", - "\n", - "class LearningRoadmap(BaseModel):\n", - " candidate_name: str\n", - " target_role: str\n", - " roadmap: List[RoadmapStep]\n", - " onboarding_summary: str" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "id": "679a529f", - "metadata": {}, - "outputs": [], - "source": [ - "class SearchCourse(BaseModel):\n", - " query:str=Field(..., description=\"The skill to find with semantic terms (e.g., 'FastAPI','Utilization Management')\")" - ] - }, - { - "cell_type": "markdown", - "id": "604e9728", - "metadata": {}, - "source": [ - "**Defining the agents to be used**" - ] - }, - { - "cell_type": "markdown", - "id": "9036d57e", - "metadata": {}, - "source": [ - "Resume data extraction agent" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "id": "14dab004", - "metadata": {}, - "outputs": [], - "source": [ - "resume_agent=ChatGroq(\n", - " model=\"meta-llama/llama-4-scout-17b-16e-instruct\",\n", - " temperature=0.2,\n", - ")\n", - "\n", - "\n", - "resume_agent=resume_agent.with_structured_output(\n", - "\n", - " schema=ResumeExtract,\n", - " method=\"json_schema\",\n", - " include_raw=True,\n", - " strict=True\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "id": "7683eb69", - "metadata": {}, - "source": [ - "Job description data extraction agent" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "id": "472dae2f", - "metadata": {}, - "outputs": [], - "source": [ - "jd_agent=ChatGroq(\n", - " model=\"openai/gpt-oss-20b\",\n", - " temperature=0.2,\n", - ")\n", - "\n", - "\n", - "jd_agent=jd_agent.with_structured_output(\n", - "\n", - " schema=JobDescriptionExtract,\n", - " method=\"json_schema\",\n", - " include_raw=True,\n", - " strict=True\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "id": "d14736d5", - "metadata": {}, - "source": [ - "defining the gap analysis agent" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "id": "0d5e3b17", - "metadata": {}, - "outputs": [], - "source": [ - "gap_analysis_agent=ChatGroq(\n", - " model=\"openai/gpt-oss-120b\",\n", - " temperature=0.2,\n", - ")\n", - "\n", - "\n", - "gap_analysis_agent=gap_analysis_agent.with_structured_output(\n", - " schema=SkillGapAnalysis,\n", - " method=\"json_schema\",\n", - " include_raw=True,\n", - " strict=True\n", - ")\n", - "\n", - "\n", - "\n" - ] - }, - { - "cell_type": "markdown", - "id": "28bc58ad", - "metadata": {}, - "source": [ - "defining the roadmap planner agent" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "0ccc026b", - "metadata": {}, - "outputs": [], - "source": [ - "rd_planner_agent=ChatGroq(\n", - " model=\"qwen/qwen3-32b\",\n", - " temperature=0.1,\n", - ")" - ] - }, - { - "cell_type": "markdown", - "id": "2bd41131", - "metadata": {}, - "source": [ - "**Tools**" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "c8827093", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Index ready: {'_response_info': {'raw_headers': {'connection': 'keep-alive',\n", - " 'content-length': '187',\n", - " 'content-type': 'application/json',\n", - " 'date': 'Fri, 10 Apr 2026 05:48:34 GMT',\n", - " 'grpc-status': '0',\n", - " 'server': 'envoy',\n", - " 'x-envoy-upstream-service-time': '65',\n", - " 'x-pinecone-request-latency-ms': '64',\n", - " 'x-pinecone-response-duration-ms': '66'}},\n", - " 'dimension': 384,\n", - " 'index_fullness': 0.0,\n", - " 'memoryFullness': 0.0,\n", - " 'metric': 'dotproduct',\n", - " 'namespaces': {'__default__': {'vector_count': 47}},\n", - " 'storageFullness': 0.0,\n", - " 'total_vector_count': 47,\n", - " 'vector_type': 'dense'}\n" - ] - } - ], - "source": [ - "\n", - "\n", - "PINECONE_API_KEY = os.getenv(\"PINECONE_API_KEY\")\n", - "pc = Pinecone(api_key=PINECONE_API_KEY)\n", - "\n", - "index_name = \"final-courses-index\"\n", - "\n", - "\n", - "# Create index if not exists\n", - "if index_name not in pc.list_indexes().names():\n", - " pc.create_index(\n", - " name=index_name,\n", - " dimension=384,\n", - " metric=\"dotproduct\",\n", - " spec=ServerlessSpec(\n", - " cloud=\"aws\",\n", - " region=\"us-east-1\"\n", - " )\n", - " )\n", - " print(\"Index created.\")\n", - "\n", - "index = pc.Index(index_name)\n", - "print(\"Index ready:\", index.describe_index_stats())\n" - ] - }, - { - "cell_type": "markdown", - "id": "44180d94", - "metadata": {}, - "source": [ - "Opening the docs for BM25 retriver" - ] - }, - { - "cell_type": "code", - "execution_count": 18, - "id": "7561b3a1", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "from langchain_core.documents import Document\n", - "\n", - "\n", - "doc_path=r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\app\\utils\\langchain_formatted.json\"\n", - "\n", - "\n", - "documents = []\n", - "\n", - "# Load the transformed catalog\n", - "with open(doc_path, \"r\") as f:\n", - " data = json.load(f)\n", - " for doc in data:\n", - " # Create a LangChain Document object for each entry\n", - " documents.append(\n", - " Document(\n", - " page_content=doc[\"page_content\"], \n", - " metadata=doc[\"metadata\"]\n", - " )\n", - " )" - ] - }, - { - "cell_type": "code", - "execution_count": 19, - "id": "f0845a99", - "metadata": {}, - "outputs": [], - "source": [ - "device=torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "id": "c8e6d2a5", - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "C:\\Users\\ATHARVA\\AppData\\Local\\Temp\\ipykernel_4264\\2526755923.py:1: LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2 and will be removed in 1.0. An updated version of the class exists in the `langchain-huggingface package and should be used instead. To use it run `pip install -U `langchain-huggingface` and import as `from `langchain_huggingface import HuggingFaceEmbeddings``.\n", - " embeddings = HuggingFaceEmbeddings(model_name=\"sentence-transformers/all-MiniLM-L6-v2\", model_kwargs={\"device\": device})\n" - ] - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "284f4293bae24db185c91466f4a7e51d", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Loading weights: 0%| | 0/103 [00:00\n", - "You are a precise resume parser. Your only job is to extract structured information from a raw resume text.\n", - "\n", - "\n", - "\n", - "Return a single valid JSON object matching the schema. No extra text, no markdown, no explanation.\n", - "\n", - "\n", - "\n", - "\"\"\"" - ] - }, - { - "cell_type": "code", - "execution_count": 31, - "id": "608efafd", - "metadata": {}, - "outputs": [], - "source": [ - "jd_agent_prompt =\"\"\" \n", - "\n", - "You are a precise job description parser.\n", - "Extract structured information from the given job description.\n", - "\n", - "\n", - "\n", - "- Extract ONLY explicitly mentioned information. Do NOT infer or hallucinate.\n", - "\n", - "- Follow the provided schema strictly.\n", - "\n", - "- If a field is not present, return null (not empty list unless schema default applies).\n", - "\n", - "- Keep skills atomic (e.g., Python, SQL, React).\n", - "\n", - "- Do NOT mix fields:\n", - " - skills = only required skills\n", - " - responsibilities = what the candidate will do\n", - " - constraints = restrictions like location, duration, eligibility\n", - "\n", - "- Convert durations like \"6 months\" into integer months.\n", - "\n", - "- is_fresher_allowed:\n", - " - True only if explicitly allowed\n", - " - False only if explicitly restricted\n", - " \n", - "\n", - "\n", - "\n", - "Return a valid JSON object only.\n", - " \"\"\"\n" - ] - }, - { - "cell_type": "code", - "execution_count": 32, - "id": "8a6c1483", - "metadata": {}, - "outputs": [], - "source": [ - "gap_analysis_agent_prompt=\"\"\"\n", - "\n", - "You are an expert technical assessor and the core intelligence of an AI-driven, adaptive onboarding engine. \n", - "Your objective is to parse a new hire's current capabilities against a target job description and identify precise skill gaps to reach role-specific competency.\n", - "\n", - "\n", - "- Cross-reference the JD's `skills_required` and `tools_technologies` against the candidate's `skills_list`, `experience.technologies`, and `projects.technologies`.\n", - "- Identify Hard Gaps: Technologies explicitly required by the JD that are completely absent from the candidate's profile.\n", - "- Apply Adaptive Logic (Proficiency Gaps):\n", - " - For Experienced Hires: If they possess the skill, DO NOT flag it for basic training. Only flag a gap if they need an advanced, role-specific upgrade based on low duration of use.\n", - " - For Beginners/Freshers: Flag foundational gaps and prerequisites heavily to ensure they are prepared before tackling complex JD requirements.\n", - "- Keep skills atomic and highly specific (e.g., output \"FastAPI\" or \"PostgreSQL\", do NOT output terms like \"Backend Frameworks\").\n", - "- Do NOT hallucinate requirements that are not explicitly stated in the JD data.\n", - "- Do NOT attempt to build the curriculum or suggest courses yet. Your sole focus is diagnosing the gaps.\n", - "- Provide a concise `reasoning` string for each identified gap. This reasoning MUST justify why the gap exists based on the user's experience level to prove the adaptive logic.\n", - "\n", - "\n", - "Return a valid JSON object only.\n", - "\n", - "\n", - "\n", - "\"\"\"" - ] - }, - { - "cell_type": "code", - "execution_count": 33, - "id": "059e5f86", - "metadata": {}, - "outputs": [], - "source": [ - "roadmap_planner_agent_prompt = \"\"\"\n", - "\n", - "You are an expert technical onboarding architect.\n", - "Transform a Skill Gap Analysis into a minimal, logically sequenced learning roadmap.\n", - "\n", - "\n", - "\n", - "STEP 1 β€” SEARCH\n", - "For every gap β†’ call search_courses.\n", - "Use ONLY course IDs returned by the tool. Never guess IDs.\n", - "\n", - "STEP 3 β€” SEQUENCE\n", - "sequence_order must be 1, 2, 3... strictly.\n", - "If is_fresher_adaptation_needed is True β†’ add professional fundamentals first.\n", - "\n", - "STEP 4 β€” SUBMIT (TERMINAL STEP)\n", - "Call submit_final_roadmap ONCE with the complete roadmap.\n", - "Call submit_mermaid_visualization ONCE with the Mermaid string.\n", - "After both return β†’ STOP. Do not call any tool again.\n", - "\n", - "\n", - "\n", - "Gap courses β†’ :::gap\n", - "Start β†’ :::start | End β†’ :::done\n", - "Group by week using subgraph W1, W2, W3, etc.\n", - "\n", - "Example:\n", - "flowchart TD\n", - " A([Start]):::start\n", - " subgraph W1[\"Week 1\"]\n", - " B[CS-DOCKER-101]:::gap\n", - " end\n", - " subgraph W2[\"Week 2\"]\n", - " C[CS-CICD-201]:::gap\n", - " end\n", - " Z([Ready]):::done\n", - " A --> B --> C --> Z\n", - " classDef gap fill:#EEEDFE,stroke:#534AB7\n", - " classDef known fill:#E1F5EE,stroke:#0F6E56\n", - " classDef start fill:#1D9E75,stroke:#0F6E56\n", - " classDef done fill:#534AB7,stroke:#3C3489\n", - "\n", - "\"\"\"" - ] - }, - { - "cell_type": "code", - "execution_count": 34, - "id": "9c4dea1e", - "metadata": {}, - "outputs": [], - "source": [ - "def input_node(state: OnboardingState):\n", - " file_path = state.get(\"file_path\")\n", - " \n", - " print(f\"πŸ“‚ File path received: {file_path}\")\n", - " print(f\"πŸ“‚ File exists: {os.path.exists(file_path) if file_path else 'NO PATH'}\")\n", - "\n", - " if not file_path:\n", - " return {\"extraction_error\": \"Missing file_path in state\"}\n", - "\n", - " try:\n", - " loader = PyMuPDFLoader(file_path)\n", - " docs = loader.load()\n", - " \n", - " print(f\"πŸ“„ Pages loaded: {len(docs)}\")\n", - " \n", - " resume_text = \"\\n\".join([doc.page_content for doc in docs])\n", - " \n", - " print(f\"πŸ“„ Text length: {len(resume_text)}\")\n", - "\n", - " return {\n", - " \"resume_text\": resume_text,\n", - " \"extraction_error\": None\n", - " }\n", - "\n", - " except Exception as e:\n", - " print(f\"❌ PyMuPDF failed: {str(e)}\")\n", - " return {\n", - " \"resume_text\": None,\n", - " \"extraction_error\": f\"Failed to load resume: {str(e)}\"\n", - " }" - ] - }, - { - "cell_type": "code", - "execution_count": 35, - "id": "eb13ffc0", - "metadata": {}, - "outputs": [], - "source": [ - "def extractResumeDataNode(state: OnboardingState):\n", - " resume_text = state.get(\"resume_text\")\n", - "\n", - " # Guard 1 β€” empty text\n", - " if not resume_text or len(resume_text.strip()) < 10:\n", - " print(\"❌ RESUME TEXT EMPTY OR TOO SHORT\")\n", - " return {\"resume_data\": None, \"extraction_error\": \"Resume text is empty\"}\n", - "\n", - " print(f\"πŸ“„ Resume text length: {len(resume_text)} chars\")\n", - "\n", - " messages = [\n", - " SystemMessage(content=resume_agent_prompt),\n", - " HumanMessage(content=f\"{resume_text}\")\n", - " ]\n", - "\n", - " result = resume_agent.invoke(messages)\n", - "\n", - " # Guard 2 β€” parsing failed\n", - " if result.get(\"parsing_error\"):\n", - " print(f\"❌ PARSING ERROR: {result['parsing_error']}\")\n", - " return {\"resume_data\": None, \"extraction_error\": str(result[\"parsing_error\"])}\n", - "\n", - " # Guard 3 β€” parsed is None\n", - " if result.get(\"parsed\") is None:\n", - " print(f\"❌ PARSED IS NONE. RAW OUTPUT: {result.get('raw')}\")\n", - " return {\"resume_data\": None, \"extraction_error\": \"LLM returned null schema\"}\n", - "\n", - " print(f\"βœ… Resume extracted: {result['parsed'].job_title}\")\n", - " return {\"resume_data\": result[\"parsed\"]}" - ] - }, - { - "cell_type": "code", - "execution_count": 86, - "id": "330acef6", - "metadata": {}, - "outputs": [], - "source": [ - "def extractJDDataNode(state: OnboardingState):\n", - " # 1. Safety Check: Is the text even in the state?\n", - " jd_text = state.get(\"job_description\", \"\")\n", - " \n", - " if not jd_text or len(jd_text.strip()) < 5:\n", - " print(\"DEBUGGER ERROR: job_description text is MISSING from state!\")\n", - " return {\"JobDescriptionExtract_data\": JobDescriptionExtract()}\n", - "\n", - " print(f\"DEBUGGER: Sending {len(jd_text)} characters to JD Agent...\")\n", - "\n", - " messages = [\n", - " SystemMessage(content=jd_agent_prompt),\n", - " HumanMessage(content=f\"EXTRACT FROM THIS TEXT:\\n\\n{jd_text}\")\n", - " ]\n", - "\n", - " try:\n", - " # 2. Invoke the agent\n", - " result = jd_agent.invoke(messages)\n", - " \n", - " # 3. Handle the 'parsed' key (ensure your chain is configured correctly)\n", - " # If result is already the Pydantic object, use it directly.\n", - " # If result is a dict with 'parsed', use result['parsed'].\n", - " parsed_data = result.get(\"parsed\") if isinstance(result, dict) else result\n", - "\n", - " # 4. Critical Check: Did it actually find anything?\n", - " if parsed_data.job_title is None and parsed_data.tools_technologies is None:\n", - " print(\"DEBUGGER WARNING: LLM returned empty schema! Checking prompt...\")\n", - " else:\n", - " print(f\"DEBUGGER SUCCESS: Extracted {parsed_data.job_title}\")\n", - "\n", - " return {\"JobDescriptionExtract_data\": parsed_data}\n", - " \n", - " except Exception as e:\n", - " print(f\"DEBUGGER CRITICAL: Invoke failed: {str(e)}\")\n", - " return {\"JobDescriptionExtract_data\": JobDescriptionExtract()}" - ] - }, - { - "cell_type": "markdown", - "id": "795e2446", - "metadata": {}, - "source": [ - "removing this ->\"skills\": {\"__all__\": {\"category\"}}, # Drops 'category' from every skill\n", - " \"experience\": {\"__all__\": {\"responsibilities\"}}, # Drops bullet points\n", - " \"projects\": {\"__all__\": {\"what_was_built\"}}, # Drops project descriptions\n", - " \"certifications\": {\"__all__\": {\"issuer\"}} # Drops the issuer" - ] - }, - { - "cell_type": "code", - "execution_count": 85, - "id": "7352181c", - "metadata": {}, - "outputs": [], - "source": [ - "def skill_gap_node(state: OnboardingState):\n", - " \n", - " resume_data = state[\"resume_data\"] \n", - " candidate_name = state[\"candidate_name\"]\n", - " \n", - " # To remove noise and reduce size of the prompt.\n", - " lean_resume_dict = resume_data.model_dump(\n", - " exclude_none=True # Bonus: Automatically drops any fields that are None/null!\n", - " )\n", - "\n", - " raw_jd = state[\"JobDescriptionExtract_data\"]\n", - " \n", - " # Strip the HR noise and text bloat\n", - " lean_jd_dict = raw_jd.model_dump(\n", - " exclude={\n", - " \"responsibilities\": True, # Dropping verbose bullet points\n", - " \"requirements\": True,\n", - " \"constraints\": True\n", - " },\n", - " exclude_none=True # Drops any null fields\n", - " )\n", - " \n", - " # Convert back to a JSON string if your prompt template requires it\n", - " lean_resume_json = json.dumps(lean_resume_dict, indent=2)\n", - " lean_jd_json = json.dumps(lean_jd_dict, indent=2)\n", - "\n", - " # ============ DEBUGGING: Print received data ============\n", - " print(\"\\n\" + \"=\"*80)\n", - " print(\"πŸ” SKILL GAP NODE - DEBUG INFO\")\n", - " print(\"=\"*80)\n", - " print(f\"βœ… Candidate Name: {candidate_name}\")\n", - " print(f\"βœ… Resume Data Type: {type(resume_data)}\")\n", - " print(f\"βœ… JD Data Type: {type(raw_jd)}\")\n", - " print(\"\\n\" + \"-\"*80)\n", - " print(\"πŸ“„ LEAN RESUME DICT (before JSON):\")\n", - " print(\"-\"*80)\n", - " print(json.dumps(lean_resume_dict, indent=2))\n", - " print(\"\\n\" + \"-\"*80)\n", - " print(\"πŸ“„ LEAN JD DICT (before JSON):\")\n", - " print(\"-\"*80)\n", - " print(json.dumps(lean_jd_dict, indent=2))\n", - " \n", - " # ============ END DEBUGGING ============\n", - "\n", - " messages = [\n", - " SystemMessage(content=gap_analysis_agent_prompt),\n", - " HumanMessage(content=f\"Users Resume:{lean_resume_json} Job Description:{lean_jd_json}\"),\n", - " ]\n", - "\n", - " result = gap_analysis_agent.invoke(messages)\n", - " analysis_data = result[\"parsed\"]\n", - "\n", - "\n", - " return {\"skill_gap_analysis_data\": result[\"parsed\"]}" - ] - }, - { - "cell_type": "code", - "execution_count": 68, - "id": "1fb2f0d1", - "metadata": {}, - "outputs": [], - "source": [ - "def roadmap_planning_node(state: OnboardingState):\n", - " \"\"\"\n", - " The agent's 'thinking' node. It looks at the Skill Gaps and \n", - " decides which tool to call next.\n", - " \"\"\"\n", - " skill_gap_data = state[\"skill_gap_analysis_data\"]\n", - "\n", - " skill_gap_data= skill_gap_data.model_dump()\n", - "\n", - " system_prompt = SystemMessage(content=roadmap_planner_agent_prompt)\n", - " input_msg = HumanMessage(content=f\" {skill_gap_data} \")\n", - " \n", - " response = roadmap_planner_agent.invoke([system_prompt, input_msg] + state[\"messages\"])\n", - "\n", - " \n", - " \n", - " return {\"messages\": [response]}" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "cea90664", - "metadata": {}, - "outputs": [], - "source": [ - "# def finalize_state_node(state: OnboardingState):\n", - "# \"\"\"\n", - "# Final node that extracts structured data from the message scratchpad\n", - "# and populates the main state keys. No global variables needed!\n", - "# \"\"\"\n", - "# final_roadmap = None\n", - "# mermaid_code = None\n", - "\n", - "# # We search the messages in reverse to find the LATEST tool calls\n", - "# for msg in reversed(state[\"messages\"]):\n", - "# # Check if the message has tool calls (this will be an AIMessage)\n", - "# if hasattr(msg, \"tool_calls\") and msg.tool_calls:\n", - "# for tool_call in msg.tool_calls:\n", - " \n", - "# # 1. Extract the Roadmap JSON\n", - "# if tool_call[\"name\"] == \"submit_final_roadmap\":\n", - "# final_roadmap = tool_call[\"args\"]\n", - " \n", - "# # 2. Extract the Mermaid String\n", - "# elif tool_call[\"name\"] == \"submit_mermaid_visualization\":\n", - "# mermaid_code = tool_call[\"args\"].get(\"mermaid_code\")\n", - "\n", - "# # Once we have both, we can stop searching\n", - "# if final_roadmap and mermaid_code:\n", - "# break\n", - "\n", - " \n", - " \n", - "# return {\n", - "# \"final_roadmap\": final_roadmap,\n", - "# \"mermaid_code\": mermaid_code\n", - "# }" - ] - }, - { - "cell_type": "code", - "execution_count": 71, - "id": "ba9f22e1", - "metadata": {}, - "outputs": [], - "source": [ - "tool_node = ToolNode(roadmap_planner_agent_tools)" - ] - }, - { - "cell_type": "code", - "execution_count": 72, - "id": "668b6787", - "metadata": {}, - "outputs": [], - "source": [ - "# from langchain.agents import create_agent\n", - "# from langchain.agents.middleware import ToolCallLimitMiddleware\n", - "\n", - "\n", - "# plan_agent=create_agent(\n", - "# model=rd_planner_agent, \n", - "# tools=roadmap_planner_agent_tools,\n", - "# system_prompt=roadmap_planner_agent_prompt,\n", - "# middleware=[\n", - "# ToolCallLimitMiddleware[Any,None](\n", - "# tool_name=\"search_courses\",\n", - "# run_limit=4,\n", - "# thread_limit=10,\n", - "\n", - "\n", - "# )\n", - "\n", - "# ] ,\n", - "# )" - ] - }, - { - "cell_type": "code", - "execution_count": 75, - "id": "b5cfe4c3", - "metadata": {}, - "outputs": [], - "source": [ - "from langchain.agents import create_agent\n", - "from langchain.agents.middleware import ToolCallLimitMiddleware\n", - "\n", - "\n", - "\n", - "builder = StateGraph(OnboardingState)\n", - "\n", - "# Define Nodes\n", - "builder.add_node(\"input_node\", input_node)\n", - "builder.add_node(\"resume_data_extraction\", extractResumeDataNode)\n", - "builder.add_node(\"jd_data_extraction\", extractJDDataNode)\n", - "builder.add_node(\"skill_gap_analysis\", skill_gap_node)\n", - "\n", - "# The ReAct Agent Node\n", - "builder.add_node(\"roadmap_planning_agent\", roadmap_planning_node)\n", - "\n", - "# The Tool Execution Node (Required for the loop)\n", - "builder.add_node(\"tools\", ToolNode(roadmap_planner_agent_tools))\n", - "\n", - "# 5. Define Edges and Workflow\n", - "builder.add_edge(START, \"input_node\")\n", - "builder.add_edge(\"input_node\", \"resume_data_extraction\")\n", - "builder.add_edge(\"input_node\", \"jd_data_extraction\")\n", - "\n", - "# Join Parallel Extractions\n", - "builder.add_edge(\"resume_data_extraction\", \"skill_gap_analysis\")\n", - "builder.add_edge(\"jd_data_extraction\", \"skill_gap_analysis\")\n", - "\n", - "# Start the Planning Phase\n", - "builder.add_edge(\"skill_gap_analysis\", \"roadmap_planning_agent\")\n", - "\n", - "# Agentic ReAct Loop\n", - "builder.add_conditional_edges(\n", - " \"roadmap_planning_agent\",\n", - " tools_condition,\n", - " {\n", - " \"tools\": \"tools\", \n", - " END: END\n", - " }\n", - ")\n", - "\n", - "# Loop back to agent after tool execution\n", - "builder.add_edge(\"tools\", \"roadmap_planning_agent\")\n", - "\n", - "# 6. Compile\n", - "graph = builder.compile()" - ] - }, - { - "cell_type": "code", - "execution_count": 76, - "id": "53588a77", - "metadata": {}, - "outputs": [ - { - "data": { - "image/png": "iVBORw0KG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Mzrcl8ZOb7ABFMIcMX+YeF57w9garP0+eA97fCQ4P+tV7emEzSy0OIqsRdL4ljJ/cZAcYGMk5gxYUO7b+CzQbDUwERSraGZtpcUQ/bZOSkvLpUWhidIq1g0E3Xx3pvstDDUE0AIpgrvAe5gy/fgs+Bd75zhfwhKYGJtZC6yLmhobaGoFVs/z8/Cs6LD4pJkUskpiY8zuMcbR3YXUTOAPYmkRyD4qgBugx2QV+/9sT8uV9QsTnpJ9B0dKbkyIShTf8M4z7JP1wOJWaLmsXUWnZUqeZeTr9upSsf7D8J92ErEB5aQo5f/8S5jVJiuJRqVvi8YmRCb9ISeOW/bMzGihLwMH4EE2AIqgxGnWzl0+HfUmIixClSH67XKHpJlEwXECGJL9FUeHdB5mCEUbBQMpkeXg0LUlNTNUyUDxe6lKp9NFphVCyAqT5KFr6D/4vW1m+dWa7Ar7YyIznWNSM6DJoBiIaAUVQKxR0NibOBNEq6BBENAKKIKKr8A0Jpcv1l+ZJ+Gx8HZFzYBcZRIcRCMjLu+FENwn7lGRsyt6+6NwBRRDRYWycDN7ejSK6Sfj3pLJ/sW6oWg6CIojoMB1GuvAN+IdXBRBdY/eCAMeiRh6NbAmS3+DI0ojOs2v+x/hokbmNoZEJJUlR0sCURsdpOt3AVZQsCi/J1HeJJ+15w0TTZbM0kVBpswpBfGYt3u9uOtLSebJOSQql8fhEIk63JzwBiYtKio0SF/ufSZMeeTe2EKIGFEFEH7h79kfg87jEBIkoUclSihlwJn1Np9L6ZKbrv8lIXZoIpubJLIJpxdK/RVDa/SjDJjKLoKEJZWxKVWtm7VZW+fiSSN6DIoggCKfBLjIIgnAaFEEEQTgNiiCCIJwGRRBBEE6DIoggCKdBEUQQhNP8HwAA//8MuzcWAAAABklEQVQDAGNFLR2qjEqeAAAAAElFTkSuQmCC", - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "display(graph)" - ] - }, - { - "cell_type": "code", - "execution_count": 47, - "id": "0edf8d59", - "metadata": {}, - "outputs": [], - "source": [ - "jd_text=\"\"\"Job Title: Backend Developer\n", - "\n", - "Company name: CodeForge\n", - "We are hiring a Backend Developer to build scalable APIs and backend systems.\n", - "\n", - "Responsibilities:\n", - "- Develop REST APIs using FastAPI\n", - "- Design and manage PostgreSQL databases\n", - "- Implement authentication and authorization systems\n", - "- Optimize performance and scalability\n", - "\n", - "Requirements:\n", - "- Strong knowledge of Python\n", - "- Experience with FastAPI or Django\n", - "- Good understanding of SQL and database design\n", - "- Familiarity with Docker\n", - "\n", - "Constraints:\n", - "- Location: Pune only\n", - "- Full-time role \"\"\"" - ] - }, - { - "cell_type": "code", - "execution_count": 48, - "id": "da3df5a4", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "\n", - "# Define the keys your React frontend actually needs\n", - "REQUIRED_KEYS = [\"candidate_name\", \"skill_gap_analysis_data\", \"mermaid_code\", \"final_roadmap\"]\n", - "\n", - "def export_ui_payload(state, filename=\"hook_output.json\"):\n", - " \"\"\"\n", - " Extracts specific keys from the graph state and ensures \n", - " Pydantic objects are dumped to dicts for JSON compatibility.\n", - " \"\"\"\n", - " ui_data = {}\n", - "\n", - " for key in REQUIRED_KEYS:\n", - " # Get the value from the state\n", - " val = state.get(key)\n", - " \n", - " if val is None:\n", - " continue\n", - "\n", - " # Check if the value is a Pydantic object (has .model_dump())\n", - " # This fixes the \"skill_gap_analysis_data as a string\" issue\n", - " if hasattr(val, \"model_dump\"):\n", - " ui_data[key] = val.model_dump()\n", - " else:\n", - " # If it's already a dict (final_roadmap) or string (mermaid_code)\n", - " ui_data[key] = val\n", - "\n", - " # Save to the local file\n", - " with open(filename, \"w\", encoding=\"utf-8\") as f:\n", - " json.dump(ui_data, f, indent=2)\n", - " \n", - " print(f\"βœ… UI Payload successfully exported to {filename}\")" - ] - }, - { - "cell_type": "code", - "execution_count": 79, - "id": "a95b4db7", - "metadata": {}, - "outputs": [], - "source": [ - "initial_input = {\n", - " \"candidate_name\": \"Chirayu Jain\",\n", - " \"resume_text\": None,\n", - " \"job_description\": jd_text,\n", - " \"file_path\": r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\Testresume\\ChirayuResume.pdf\",\n", - " \"resume_data\": None,\n", - " \"extraction_error\": None,\n", - " \"JobDescriptionExtract_data\": None,\n", - " \"skill_gap_analysis_data\": None\n", - " \n", - " \n", - "}\n", - "import uuid\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": 78, - "id": "09b48e2a", - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "\n", - "checkpointer = MemorySaver() \n", - "graph = builder.compile(checkpointer=checkpointer,debug=True)\n", - "\n", - "THREAD_ID = str(uuid.uuid4())\n" - ] - }, - { - "cell_type": "code", - "execution_count": 60, - "id": "093bdd6e", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "\n", - "def run_graph_with_stream(graph, initial_input, config):\n", - " \"\"\"\n", - " Executes the graph in streaming mode to visualize the 'under the hood' \n", - " process of node transitions and data updates.\n", - " \"\"\"\n", - " print(\"πŸš€ Starting Graph Stream...\\n\")\n", - " \n", - " # Using stream_mode=\"updates\" to see exactly what each node returns\n", - " for event in graph.stream(initial_input, config, stream_mode=\"updates\"):\n", - " for node_name, node_update in event.items():\n", - " print(f\"--- πŸ“ Node: {node_name} ---\")\n", - " \n", - " # 1. Check for Tool Calls (The 'ReAct' thinking process)\n", - " if \"messages\" in node_update:\n", - " last_msg = node_update[\"messages\"][-1]\n", - " if hasattr(last_msg, \"tool_calls\") and last_msg.tool_calls:\n", - " for tool in last_msg.tool_calls:\n", - " print(f\"πŸ› οΈ AGENT CALLING TOOL: {tool['name']}\")\n", - " print(f\"πŸ“ ARGS: {json.dumps(tool['args'], indent=2)}\")\n", - " elif hasattr(last_msg, \"content\") and last_msg.content:\n", - " # Show a snippet of the AI's internal reasoning\n", - " content_snippet = last_msg.content[:150].replace('\\n', ' ')\n", - " print(f\"🧠 AI THOUGHT: {content_snippet}...\")\n", - "\n", - " # 2. Check for Data Extraction (JD/Resume results)\n", - " if \"JobDescriptionExtract_data\" in node_update:\n", - " jd = node_update[\"JobDescriptionExtract_data\"]\n", - " print(f\"βœ… Extracted JD: {getattr(jd, 'job_title', 'Unknown')}\")\n", - " \n", - " if \"resume_data\" in node_update:\n", - " res = node_update[\"resume_data\"]\n", - " print(f\"βœ… Extracted Resume for: {getattr(res, 'candidate_name', 'Unknown')}\")\n", - "\n", - " # 3. Check for the final output keys\n", - " if \"skill_gap_analysis_data\" in node_update:\n", - " print(\"🎯 Skill Gap Analysis Completed.\")\n", - " \n", - " if \"learning_roadmap\" in node_update or \"final_roadmap\" in node_update:\n", - " print(\"🏁 Final Roadmap Constructed.\")\n", - "\n", - " print(\"\\n\" + \"=\"*50 + \"\\n\")\n", - "\n", - " # Access the final state after the stream ends\n", - " final_state = graph.get_state(config)\n", - " print(\"✨ Stream Finished. Final state captured.\")\n", - " return final_state.values\n", - "\n", - "# --- Example Usage ---\n" - ] - }, - { - "cell_type": "code", - "execution_count": 152, - "id": "db595a54", - "metadata": {}, - "outputs": [ - { - "ename": "SyntaxError", - "evalue": "invalid syntax (1106862335.py, line 1)", - "output_type": "error", - "traceback": [ - " \u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[152]\u001b[39m\u001b[32m, line 1\u001b[39m\n\u001b[31m \u001b[39m\u001b[31m///break\u001b[39m\n ^\n\u001b[31mSyntaxError\u001b[39m\u001b[31m:\u001b[39m invalid syntax\n" - ] - } - ], - "source": [ - "///break" - ] - }, - { - "cell_type": "code", - "execution_count": 80, - "id": "7a36ecb1", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': None, 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [], 'skill_gap_analysis_data': None, 'resume_data': None, 'extraction_error': None, 'JobDescriptionExtract_data': None}\n", - "πŸ“‚ File path received: C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\Testresume\\ChirayuResume.pdf\n", - "πŸ“‚ File exists: True\n", - "πŸ“„ Pages loaded: 1\n", - "πŸ“„ Text length: 3156\n", - "\u001b[1m[updates]\u001b[0m {'input_node': {'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'extraction_error': None}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [], 'skill_gap_analysis_data': None, 'resume_data': None, 'extraction_error': None, 'JobDescriptionExtract_data': None}\n", - "DEBUGGER: Sending 525 characters to JD Agent...\n", - "πŸ“„ Resume text length: 3156 chars\n", - "DEBUGGER SUCCESS: Extracted Backend Developer\n", - "βœ… Resume extracted: SOFTWARE DEVELOPER\n", - "\u001b[1m[updates]\u001b[0m {'jd_data_extraction': {'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')])}}\n", - "\u001b[1m[updates]\u001b[0m {'resume_data_extraction': {'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False)}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [], 'skill_gap_analysis_data': None, 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')])}\n", - "\n", - "================================================================================\n", - "πŸ” SKILL GAP NODE - DEBUG INFO\n", - "================================================================================\n", - "βœ… Candidate Name: Chirayu Jain\n", - "βœ… Resume Data Type: \n", - "βœ… JD Data Type: \n", - "\n", - "--------------------------------------------------------------------------------\n", - "πŸ“„ LEAN RESUME DICT (before JSON):\n", - "--------------------------------------------------------------------------------\n", - "{\n", - " \"candidate_name\": \"Chirayu Jain\",\n", - " \"job_title\": \"SOFTWARE DEVELOPER\",\n", - " \"skills\": [\n", - " {\n", - " \"name\": \"C/C++\"\n", - " },\n", - " {\n", - " \"name\": \"Java\"\n", - " },\n", - " {\n", - " \"name\": \"Python\"\n", - " },\n", - " {\n", - " \"name\": \"JavaScript\"\n", - " },\n", - " {\n", - " \"name\": \"Dart\"\n", - " },\n", - " {\n", - " \"name\": \"Flutter\"\n", - " },\n", - " {\n", - " \"name\": \"HTML/CSS\"\n", - " },\n", - " {\n", - " \"name\": \"ReactJS\"\n", - " },\n", - " {\n", - " \"name\": \"Firebase\"\n", - " },\n", - " {\n", - " \"name\": \"REST APIs\"\n", - " },\n", - " {\n", - " \"name\": \"Flask\"\n", - " },\n", - " {\n", - " \"name\": \"Django\"\n", - " },\n", - " {\n", - " \"name\": \"NodeJS\"\n", - " },\n", - " {\n", - " \"name\": \"ExpressJS\"\n", - " },\n", - " {\n", - " \"name\": \"MySQL\"\n", - " },\n", - " {\n", - " \"name\": \"MongoDB\"\n", - " },\n", - " {\n", - " \"name\": \"SQLite\"\n", - " }\n", - " ],\n", - " \"experience\": [\n", - " {\n", - " \"job_title\": \"Technology Intern\",\n", - " \"technologies\": [\n", - " \"Flask\",\n", - " \"PyMuPDF\",\n", - " \"Docling\",\n", - " \"OCR extraction\",\n", - " \"Cron-based background workers\"\n", - " ],\n", - " \"responsibilities\": [\n", - " \"Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20\\u201330 minutes to 2\\u20133 minutes.\",\n", - " \"Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.\",\n", - " \"Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.\"\n", - " ]\n", - " },\n", - " {\n", - " \"job_title\": \"Software Development intern\",\n", - " \"technologies\": [\n", - " \"Flutter\",\n", - " \"MVVM\",\n", - " \"SOLID\",\n", - " \"modular design\"\n", - " ],\n", - " \"responsibilities\": [\n", - " \"Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.\",\n", - " \"Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\",\n", - " \"Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\"\n", - " ]\n", - " }\n", - " ],\n", - " \"projects\": [\n", - " {\n", - " \"name\": \"Hostel Bites \\u2013 IIITK Canteen App\",\n", - " \"technologies\": [\n", - " \"Flutter\",\n", - " \"Dart\",\n", - " \"Firebase\",\n", - " \"Cloud Firestore\",\n", - " \"Mapbox API\"\n", - " ]\n", - " },\n", - " {\n", - " \"name\": \"JobShield - Fake Job Detector\",\n", - " \"technologies\": [\n", - " \"Flutter\",\n", - " \"Dart\",\n", - " \"Python\",\n", - " \"Flask\",\n", - " \"SQLite\"\n", - " ]\n", - " }\n", - " ],\n", - " \"is_fresher\": false\n", - "}\n", - "\n", - "--------------------------------------------------------------------------------\n", - "πŸ“„ LEAN JD DICT (before JSON):\n", - "--------------------------------------------------------------------------------\n", - "{\n", - " \"job_title\": \"Backend Developer\",\n", - " \"company_name\": \"CodeForge\",\n", - " \"skills_required\": [\n", - " {\n", - " \"name\": \"Python\"\n", - " },\n", - " {\n", - " \"name\": \"FastAPI\"\n", - " },\n", - " {\n", - " \"name\": \"Django\"\n", - " },\n", - " {\n", - " \"name\": \"SQL\"\n", - " },\n", - " {\n", - " \"name\": \"PostgreSQL\"\n", - " },\n", - " {\n", - " \"name\": \"Docker\"\n", - " }\n", - " ]\n", - "}\n", - "\n", - "--------------------------------------------------------------------------------\n", - "πŸ“„ LEAN RESUME JSON (for prompt):\n", - "--------------------------------------------------------------------------------\n", - "{\n", - " \"candidate_name\": \"Chirayu Jain\",\n", - " \"job_title\": \"SOFTWARE DEVELOPER\",\n", - " \"skills\": [\n", - " {\n", - " \"name\": \"C/C++\"\n", - " },\n", - " {\n", - " \"name\": \"Java\"\n", - " },\n", - " {\n", - " \"name\": \"Python\"\n", - " },\n", - " {\n", - " \"name\": \"JavaScript\"\n", - " },\n", - " {\n", - " \"name\": \"Dart\"\n", - " },\n", - " {\n", - " \"name\": \"Flutter\"\n", - " },\n", - " {\n", - " \"name\": \"HTML/CSS\"\n", - " },\n", - " {\n", - " \"name\": \"ReactJS\"\n", - " },\n", - " {\n", - " \"name\": \"Firebase\"\n", - " },\n", - " {\n", - " \"name\": \"REST APIs\"\n", - " },\n", - " {\n", - " \"name\": \"Flask\"\n", - " },\n", - " {\n", - " \"name\": \"Django\"\n", - " },\n", - " {\n", - " \"name\": \"NodeJS\"\n", - " },\n", - " {\n", - " \"name\": \"ExpressJS\"\n", - " },\n", - " {\n", - " \"name\": \"MySQL\"\n", - " },\n", - " {\n", - " \"name\": \"MongoDB\"\n", - " },\n", - " {\n", - " \"name\": \"SQLite\"\n", - " }\n", - " ],\n", - " \"experience\": [\n", - " {\n", - " \"job_title\": \"Technology Intern\",\n", - " \"technologies\": [\n", - " \"Flask\",\n", - " \"PyMuPDF\",\n", - " \"Docling\",\n", - " \"OCR extraction\",\n", - " \"Cron-based background workers\"\n", - " ],\n", - " \"responsibilities\": [\n", - " \"Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20\\u201330 minutes to 2\\u20133 minutes.\",\n", - " \"Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.\",\n", - " \"Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.\"\n", - " ]\n", - " },\n", - " {\n", - " \"job_title\": \"Software Development intern\",\n", - " \"technologies\": [\n", - " \"Flutter\",\n", - " \"MVVM\",\n", - " \"SOLID\",\n", - " \"modular design\"\n", - " ],\n", - " \"responsibilities\": [\n", - " \"Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.\",\n", - " \"Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\",\n", - " \"Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\"\n", - " ]\n", - " }\n", - " ],\n", - " \"projects\": [\n", - " {\n", - " \"name\": \"Hostel Bites \\u2013 IIITK Canteen App\",\n", - " \"technologies\": [\n", - " \"Flutter\",\n", - " \"Dart\",\n", - " \"Firebase\",\n", - " \"Cloud Firestore\",\n", - " \"Mapbox API\"\n", - " ]\n", - " },\n", - " {\n", - " \"name\": \"JobShield - Fake Job Detector\",\n", - " \"technologies\": [\n", - " \"Flutter\",\n", - " \"Dart\",\n", - " \"Python\",\n", - " \"Flask\",\n", - " \"SQLite\"\n", - " ]\n", - " }\n", - " ],\n", - " \"is_fresher\": false\n", - "}\n", - "\n", - "--------------------------------------------------------------------------------\n", - "πŸ“„ LEAN JD JSON (for prompt):\n", - "--------------------------------------------------------------------------------\n", - "{\n", - " \"job_title\": \"Backend Developer\",\n", - " \"company_name\": \"CodeForge\",\n", - " \"skills_required\": [\n", - " {\n", - " \"name\": \"Python\"\n", - " },\n", - " {\n", - " \"name\": \"FastAPI\"\n", - " },\n", - " {\n", - " \"name\": \"Django\"\n", - " },\n", - " {\n", - " \"name\": \"SQL\"\n", - " },\n", - " {\n", - " \"name\": \"PostgreSQL\"\n", - " },\n", - " {\n", - " \"name\": \"Docker\"\n", - " }\n", - " ]\n", - "}\n", - "\n", - "================================================================================\n", - "\u001b[1m[updates]\u001b[0m {'skill_gap_analysis': {'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb')]}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb')], 'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')])}\n", - "\u001b[1m[updates]\u001b[0m {'roadmap_planning_agent': {'messages': [AIMessage(content='', additional_kwargs={'reasoning_content': 'Okay, let\\'s start by understanding the user\\'s problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the provided skill gap analysis. The gaps identified are FastAPI, PostgreSQL, and Docker, all with high priority. The user is an expert technical onboarding architect, so the solution needs to be efficient and logically sequenced.\\n\\nFirst, I need to follow the strict workflow provided. The first step is to search for courses for each gap using the search_courses function. The user emphasized using only the course IDs returned by the tool, so I can\\'t guess any IDs. \\n\\nFor each skill gap (FastAPI, PostgreSQL, Docker), I\\'ll call search_courses. Let\\'s start with FastAPI. The function requires a query parameter, which should be the skill name. So, I\\'ll use \"FastAPI\" as the query. Then do the same for PostgreSQL and Docker. \\n\\nAssuming the tool returns valid course IDs, the next step is to sequence them. Since is_fresher_adaptation_needed is False, we don\\'t need to add professional fundamentals first. The sequence_order should be 1, 2, 3, etc. Each course will be in a separate week. \\n\\nAfter sequencing, I need to create the Mermaid diagram. Each course will be in a subgraph for the respective week, labeled as W1, W2, W3. The start and end nodes will be marked with the appropriate classes. \\n\\nFinally, submit the final roadmap and the Mermaid visualization. The roadmap should include the candidate\\'s name, target role, and the sequenced courses with their details. The Mermaid code should correctly map the sequence and group the weeks.\\n\\nI need to make sure that each step is followed in order and that the tools are called correctly. Also, check that the JSON structures are properly formatted when submitting the final roadmap and visualization.\\n', 'tool_calls': [{'id': 'tk112hq0c', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z12xgzqbr', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z2ccjm3w2', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 456, 'prompt_tokens': 1559, 'total_tokens': 2015, 'completion_time': 0.929203584, 'completion_tokens_details': {'reasoning_tokens': 389}, 'prompt_time': 0.064193024, 'prompt_tokens_details': None, 'queue_time': 0.044726596, 'total_time': 0.993396608}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-aed2-77c0-a431-2f2f4ae627a9-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'tk112hq0c', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'z12xgzqbr', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'z2ccjm3w2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1559, 'output_tokens': 456, 'total_tokens': 2015, 'output_token_details': {'reasoning': 389}})]}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb'), AIMessage(content='', additional_kwargs={'reasoning_content': 'Okay, let\\'s start by understanding the user\\'s problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the provided skill gap analysis. The gaps identified are FastAPI, PostgreSQL, and Docker, all with high priority. The user is an expert technical onboarding architect, so the solution needs to be efficient and logically sequenced.\\n\\nFirst, I need to follow the strict workflow provided. The first step is to search for courses for each gap using the search_courses function. The user emphasized using only the course IDs returned by the tool, so I can\\'t guess any IDs. \\n\\nFor each skill gap (FastAPI, PostgreSQL, Docker), I\\'ll call search_courses. Let\\'s start with FastAPI. The function requires a query parameter, which should be the skill name. So, I\\'ll use \"FastAPI\" as the query. Then do the same for PostgreSQL and Docker. \\n\\nAssuming the tool returns valid course IDs, the next step is to sequence them. Since is_fresher_adaptation_needed is False, we don\\'t need to add professional fundamentals first. The sequence_order should be 1, 2, 3, etc. Each course will be in a separate week. \\n\\nAfter sequencing, I need to create the Mermaid diagram. Each course will be in a subgraph for the respective week, labeled as W1, W2, W3. The start and end nodes will be marked with the appropriate classes. \\n\\nFinally, submit the final roadmap and the Mermaid visualization. The roadmap should include the candidate\\'s name, target role, and the sequenced courses with their details. The Mermaid code should correctly map the sequence and group the weeks.\\n\\nI need to make sure that each step is followed in order and that the tools are called correctly. Also, check that the JSON structures are properly formatted when submitting the final roadmap and visualization.\\n', 'tool_calls': [{'id': 'tk112hq0c', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z12xgzqbr', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z2ccjm3w2', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 456, 'prompt_tokens': 1559, 'total_tokens': 2015, 'completion_time': 0.929203584, 'completion_tokens_details': {'reasoning_tokens': 389}, 'prompt_time': 0.064193024, 'prompt_tokens_details': None, 'queue_time': 0.044726596, 'total_time': 0.993396608}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-aed2-77c0-a431-2f2f4ae627a9-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'tk112hq0c', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'z12xgzqbr', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'z2ccjm3w2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1559, 'output_tokens': 456, 'total_tokens': 2015, 'output_token_details': {'reasoning': 389}})], 'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')])}\n", - "\u001b[1m[updates]\u001b[0m {'tools': {'messages': [ToolMessage(content=\"ID: CS-FAST-101\\nCourse Title: REST API Development with FastAPI\\nCategory: Backend\\nDescription: A project-driven course for building production-quality REST APIs with Python's FastAPI framework. Students learn to define typed routes with path and query parameters, leverage Pydantic models for automatic request validation and serialization, implement dependency injection, and secure endpoints using JWT-based Bearer token authentication.\\nLearning Outcomes: Create REST endpoints with path and query params, Validate request/response with Pydantic models, Implement JWT-based authentication\\n---\\nID: CS-FAST-201\\nCourse Title: Advanced API Design with FastAPI\\nCategory: Backend\\nDescription: An advanced course for engineers building high-performance, secure backend services with FastAPI. Students implement full OAuth2 authorization code and client credentials flows, build async database CRUD endpoints using SQLAlchemy 2.0 with asyncpg, design layered dependency injection architectures, create custom middleware for logging and rate limiting, and run Celery background task queues.\\nLearning Outcomes: Implement OAuth2 authentication flows, Build async database endpoints with SQLAlchemy, Use dependency injection and middleware patterns\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: OPS-K8S-101\\nCourse Title: Kubernetes for AI Workloads\\nCategory: MLOps\\nDescription: An introduction to K8s specifically for ML engineers. Covers pod orchestration, GPU resource allocation, and scaling FastAPI backends on clusters.\\nLearning Outcomes: Deploy ML models as K8s services, Configure GPU-enabled worker nodes, Manage cluster auto-scaling for inference bursts\\n---\", name='search_courses', id='81dc0c18-afd0-48cf-93e2-3f84aeb4697d', tool_call_id='tk112hq0c'), ToolMessage(content='ID: CS-DB-101\\nCourse Title: SQL Fundamentals for Backend Developers\\nCategory: Database\\nDescription: A hands-on introduction to relational database theory and practice using SQLite and PostgreSQL. Students learn to model data with schemas, enforce referential integrity through primary and foreign keys, and interact with data using full CRUD operations and multi-table JOINs.\\nLearning Outcomes: Write basic SELECT queries with filters, Understand Primary and Foreign Keys, Perform data insertion, updates, and deletions\\n---\\nID: CS-DB-201\\nCourse Title: Advanced SQL Ò€” Indexing, Transactions & Query Optimization\\nCategory: Database\\nDescription: A deep dive into production-grade SQL performance and reliability. Students master analytical window functions, Common Table Expressions (CTEs), query execution plan analysis using EXPLAIN/ANALYZE, B-tree and partial index strategies, and ACID-compliant transaction management including deadlock detection and prevention.\\nLearning Outcomes: Use window functions and CTEs, Analyze and optimize slow queries with EXPLAIN, Manage ACID transactions and deadlock prevention\\n---\\nID: BUS-SQL-201\\nCourse Title: SQL for Workforce Analytics\\nCategory: Data Science\\nDescription: Learn to query internal talent databases. Covers JOINs, aggregations, and subqueries to find hiring trends and predict churn.\\nLearning Outcomes: Write SQL queries to extract talent metrics, Analyze historical hiring data for trends, Build basic labor supply reports\\n---\\nID: CS-DB-301\\nCourse Title: NoSQL Databases Ò€” MongoDB & Redis\\nCategory: Database\\nDescription: Practical training in document and key-value store paradigms for modern applications. Covers MongoDB schema design, flexible document modeling, the aggregation pipeline for complex data transformations, and Redis as both a high-speed caching layer and a pub/sub message broker with TTL-based eviction strategies.\\nLearning Outcomes: Design document schemas in MongoDB, Build aggregation pipelines, Implement caching with Redis TTL strategies\\n---', name='search_courses', id='7d61cda6-fd9d-4f36-8b71-8df2e24b95fb', tool_call_id='z12xgzqbr'), ToolMessage(content='ID: CS-DOCKER-101\\nCourse Title: Docker & Containerization Fundamentals\\nCategory: DevOps\\nDescription: A practical guide to application containerization using Docker. Students learn to write optimized multi-stage Dockerfiles, manage images and container lifecycles, configure bridge and overlay networking, use named volumes for data persistence, and orchestrate multi-service applications with Docker Compose for local and staging environments.\\nLearning Outcomes: Write efficient multi-stage Dockerfiles, Manage container lifecycle and networking, Orchestrate multi-service apps with Docker Compose\\n---\\nID: CS-CICD-201\\nCourse Title: CI/CD Pipelines with GitHub Actions\\nCategory: DevOps\\nDescription: A hands-on course in automating the full software delivery lifecycle using GitHub Actions. Students define multi-job workflows with matrix builds, integrate linting and pytest test suites as required CI checks, automate Docker image builds and pushes to registries, and manage environment secrets and deployment approvals for staging and production environments.\\nLearning Outcomes: Create GitHub Actions workflows for CI/CD, Automate Docker image builds and pushes, Manage secrets and environment variables securely\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: CS-K8S-301\\nCourse Title: Kubernetes Ò€” Container Orchestration at Scale\\nCategory: DevOps\\nDescription: A comprehensive course on running containerized workloads in production with Kubernetes. Students deploy stateless and stateful applications using Deployments and StatefulSets, expose services through ClusterIP, NodePort, and Ingress controllers, manage configuration and secrets with ConfigMaps and Secrets, autoscale workloads with HPA, and package applications for repeatable releases using Helm charts.\\nLearning Outcomes: Deploy applications using Deployments and StatefulSets, Configure Services, Ingress, and ConfigMaps, Manage releases with Helm charts\\n---', name='search_courses', id='eda8cd08-a93d-4b9e-8ed4-c2af30a4b4fc', tool_call_id='z2ccjm3w2')]}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb'), AIMessage(content='', additional_kwargs={'reasoning_content': 'Okay, let\\'s start by understanding the user\\'s problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the provided skill gap analysis. The gaps identified are FastAPI, PostgreSQL, and Docker, all with high priority. The user is an expert technical onboarding architect, so the solution needs to be efficient and logically sequenced.\\n\\nFirst, I need to follow the strict workflow provided. The first step is to search for courses for each gap using the search_courses function. The user emphasized using only the course IDs returned by the tool, so I can\\'t guess any IDs. \\n\\nFor each skill gap (FastAPI, PostgreSQL, Docker), I\\'ll call search_courses. Let\\'s start with FastAPI. The function requires a query parameter, which should be the skill name. So, I\\'ll use \"FastAPI\" as the query. Then do the same for PostgreSQL and Docker. \\n\\nAssuming the tool returns valid course IDs, the next step is to sequence them. Since is_fresher_adaptation_needed is False, we don\\'t need to add professional fundamentals first. The sequence_order should be 1, 2, 3, etc. Each course will be in a separate week. \\n\\nAfter sequencing, I need to create the Mermaid diagram. Each course will be in a subgraph for the respective week, labeled as W1, W2, W3. The start and end nodes will be marked with the appropriate classes. \\n\\nFinally, submit the final roadmap and the Mermaid visualization. The roadmap should include the candidate\\'s name, target role, and the sequenced courses with their details. The Mermaid code should correctly map the sequence and group the weeks.\\n\\nI need to make sure that each step is followed in order and that the tools are called correctly. Also, check that the JSON structures are properly formatted when submitting the final roadmap and visualization.\\n', 'tool_calls': [{'id': 'tk112hq0c', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z12xgzqbr', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z2ccjm3w2', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 456, 'prompt_tokens': 1559, 'total_tokens': 2015, 'completion_time': 0.929203584, 'completion_tokens_details': {'reasoning_tokens': 389}, 'prompt_time': 0.064193024, 'prompt_tokens_details': None, 'queue_time': 0.044726596, 'total_time': 0.993396608}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-aed2-77c0-a431-2f2f4ae627a9-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'tk112hq0c', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'z12xgzqbr', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'z2ccjm3w2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1559, 'output_tokens': 456, 'total_tokens': 2015, 'output_token_details': {'reasoning': 389}}), ToolMessage(content=\"ID: CS-FAST-101\\nCourse Title: REST API Development with FastAPI\\nCategory: Backend\\nDescription: A project-driven course for building production-quality REST APIs with Python's FastAPI framework. Students learn to define typed routes with path and query parameters, leverage Pydantic models for automatic request validation and serialization, implement dependency injection, and secure endpoints using JWT-based Bearer token authentication.\\nLearning Outcomes: Create REST endpoints with path and query params, Validate request/response with Pydantic models, Implement JWT-based authentication\\n---\\nID: CS-FAST-201\\nCourse Title: Advanced API Design with FastAPI\\nCategory: Backend\\nDescription: An advanced course for engineers building high-performance, secure backend services with FastAPI. Students implement full OAuth2 authorization code and client credentials flows, build async database CRUD endpoints using SQLAlchemy 2.0 with asyncpg, design layered dependency injection architectures, create custom middleware for logging and rate limiting, and run Celery background task queues.\\nLearning Outcomes: Implement OAuth2 authentication flows, Build async database endpoints with SQLAlchemy, Use dependency injection and middleware patterns\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: OPS-K8S-101\\nCourse Title: Kubernetes for AI Workloads\\nCategory: MLOps\\nDescription: An introduction to K8s specifically for ML engineers. Covers pod orchestration, GPU resource allocation, and scaling FastAPI backends on clusters.\\nLearning Outcomes: Deploy ML models as K8s services, Configure GPU-enabled worker nodes, Manage cluster auto-scaling for inference bursts\\n---\", name='search_courses', id='81dc0c18-afd0-48cf-93e2-3f84aeb4697d', tool_call_id='tk112hq0c'), ToolMessage(content='ID: CS-DB-101\\nCourse Title: SQL Fundamentals for Backend Developers\\nCategory: Database\\nDescription: A hands-on introduction to relational database theory and practice using SQLite and PostgreSQL. Students learn to model data with schemas, enforce referential integrity through primary and foreign keys, and interact with data using full CRUD operations and multi-table JOINs.\\nLearning Outcomes: Write basic SELECT queries with filters, Understand Primary and Foreign Keys, Perform data insertion, updates, and deletions\\n---\\nID: CS-DB-201\\nCourse Title: Advanced SQL Ò€” Indexing, Transactions & Query Optimization\\nCategory: Database\\nDescription: A deep dive into production-grade SQL performance and reliability. Students master analytical window functions, Common Table Expressions (CTEs), query execution plan analysis using EXPLAIN/ANALYZE, B-tree and partial index strategies, and ACID-compliant transaction management including deadlock detection and prevention.\\nLearning Outcomes: Use window functions and CTEs, Analyze and optimize slow queries with EXPLAIN, Manage ACID transactions and deadlock prevention\\n---\\nID: BUS-SQL-201\\nCourse Title: SQL for Workforce Analytics\\nCategory: Data Science\\nDescription: Learn to query internal talent databases. Covers JOINs, aggregations, and subqueries to find hiring trends and predict churn.\\nLearning Outcomes: Write SQL queries to extract talent metrics, Analyze historical hiring data for trends, Build basic labor supply reports\\n---\\nID: CS-DB-301\\nCourse Title: NoSQL Databases Ò€” MongoDB & Redis\\nCategory: Database\\nDescription: Practical training in document and key-value store paradigms for modern applications. Covers MongoDB schema design, flexible document modeling, the aggregation pipeline for complex data transformations, and Redis as both a high-speed caching layer and a pub/sub message broker with TTL-based eviction strategies.\\nLearning Outcomes: Design document schemas in MongoDB, Build aggregation pipelines, Implement caching with Redis TTL strategies\\n---', name='search_courses', id='7d61cda6-fd9d-4f36-8b71-8df2e24b95fb', tool_call_id='z12xgzqbr'), ToolMessage(content='ID: CS-DOCKER-101\\nCourse Title: Docker & Containerization Fundamentals\\nCategory: DevOps\\nDescription: A practical guide to application containerization using Docker. Students learn to write optimized multi-stage Dockerfiles, manage images and container lifecycles, configure bridge and overlay networking, use named volumes for data persistence, and orchestrate multi-service applications with Docker Compose for local and staging environments.\\nLearning Outcomes: Write efficient multi-stage Dockerfiles, Manage container lifecycle and networking, Orchestrate multi-service apps with Docker Compose\\n---\\nID: CS-CICD-201\\nCourse Title: CI/CD Pipelines with GitHub Actions\\nCategory: DevOps\\nDescription: A hands-on course in automating the full software delivery lifecycle using GitHub Actions. Students define multi-job workflows with matrix builds, integrate linting and pytest test suites as required CI checks, automate Docker image builds and pushes to registries, and manage environment secrets and deployment approvals for staging and production environments.\\nLearning Outcomes: Create GitHub Actions workflows for CI/CD, Automate Docker image builds and pushes, Manage secrets and environment variables securely\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: CS-K8S-301\\nCourse Title: Kubernetes Ò€” Container Orchestration at Scale\\nCategory: DevOps\\nDescription: A comprehensive course on running containerized workloads in production with Kubernetes. Students deploy stateless and stateful applications using Deployments and StatefulSets, expose services through ClusterIP, NodePort, and Ingress controllers, manage configuration and secrets with ConfigMaps and Secrets, autoscale workloads with HPA, and package applications for repeatable releases using Helm charts.\\nLearning Outcomes: Deploy applications using Deployments and StatefulSets, Configure Services, Ingress, and ConfigMaps, Manage releases with Helm charts\\n---', name='search_courses', id='eda8cd08-a93d-4b9e-8ed4-c2af30a4b4fc', tool_call_id='z2ccjm3w2')], 'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')])}\n", - "\u001b[1m[updates]\u001b[0m {'roadmap_planning_agent': {'messages': [AIMessage(content='', additional_kwargs={'reasoning_content': \"Okay, let's start by looking at the user's problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the skill gaps identified. The gaps are in FastAPI, PostgreSQL, and Docker. The user has provided the search results for each of these skills, and now I need to sequence them into a logical order.\\n\\nFirst, I need to check if any foundational courses are required. The user mentioned that is_fresher_adaptation_needed is False, so we don't need to add any professional fundamentals first. That means we can start directly with the identified gaps.\\n\\nLooking at the FastAPI courses, there's CS-FAST-101 and CS-FAST-201. Since the target competency is to develop high-performance asynchronous APIs, the first course (CS-FAST-101) is the foundation. The advanced course (CS-FAST-201) would come after mastering the basics.\\n\\nFor PostgreSQL, the relevant courses are CS-DB-101 and CS-DB-201. The candidate has experience with MySQL and SQLite, so starting with CS-DB-101 makes sense to build a solid foundation in SQL fundamentals. Then, moving to CS-DB-201 for advanced topics like indexing and transactions.\\n\\nFor Docker, the course CS-DOCKER-101 is the fundamental one. The other Docker-related courses are either part of other tracks (like CS-CICD-201 for CI/CD) or part of MLOps, which isn't the focus here. So CS-DOCKER-101 is the right choice here.\\n\\nNow, sequencing these courses. The order should allow Chirayu to build skills progressively. Starting with FastAPI makes sense because it's a framework he's somewhat familiar with (Python and Flask), so transitioning to FastAPI would be logical. Then, moving to PostgreSQL to handle database management, followed by Docker for containerization. Each of these can be spread over weeks, maybe one course per week.\\n\\nI need to assign sequence_order numbers. Let's see:\\n\\n1. FastAPI Fundamentals (CS-FAST-101) - Week 1\\n2. PostgreSQL Fundamentals (CS-DB-101) - Week 2\\n3. Docker Fundamentals (CS-DOCKER-101) - Week 3\\n4. Advanced FastAPI (CS-FAST-201) - Week 4\\n5. Advanced PostgreSQL (CS-DB-201) - Week 5\\n\\nThis order ensures that foundational skills are built first before moving to advanced topics. Each course is a prerequisite for the next in their respective tracks. The Mermaid diagram should reflect this sequence with subgraphs for each week.\\n\\nI also need to make sure that the reasoning for each course choice is clear. For example, CS-FAST-101 is chosen because it covers the basics needed for developing APIs with FastAPI, which is a high-priority gap. Similarly, CS-DB-101 provides the necessary SQL fundamentals before moving to advanced PostgreSQL topics.\\n\\nFinally, compiling all this into the required JSON format for the final roadmap and the Mermaid visualization. Double-checking that all course IDs are from the search results and that the sequence makes logical sense for skill progression.\\n\", 'tool_calls': [{'id': 'mm78w2e88', 'function': {'arguments': '{\"candidate_name\":\"Chirayu Jain\",\"onboarding_summary\":\"4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.\",\"roadmap\":[{\"course_id\":\"CS-FAST-101\",\"is_foundation\":true,\"reasoning\":\"Foundational course to build FastAPI skills required for high-performance API development\",\"sequence_order\":1,\"title\":\"REST API Development with FastAPI\"},{\"course_id\":\"CS-DB-101\",\"is_foundation\":true,\"reasoning\":\"Establish PostgreSQL foundation before advanced database work\",\"sequence_order\":2,\"title\":\"SQL Fundamentals for Backend Developers\"},{\"course_id\":\"CS-DOCKER-101\",\"is_foundation\":true,\"reasoning\":\"Core containerization skills needed for consistent deployment\",\"sequence_order\":3,\"title\":\"Docker \\\\u0026 Containerization Fundamentals\"},{\"course_id\":\"CS-FAST-201\",\"is_foundation\":false,\"reasoning\":\"Build on FastAPI fundamentals with async database integration\",\"sequence_order\":4,\"title\":\"Advanced API Design with FastAPI\"},{\"course_id\":\"CS-DB-201\",\"is_foundation\":false,\"reasoning\":\"Deepen PostgreSQL expertise for production-grade database work\",\"sequence_order\":5,\"title\":\"Advanced SQL - Indexing, Transactions \\\\u0026 Query Optimization\"}],\"target_role\":\"Backend Developer\"}', 'name': 'submit_final_roadmap'}, 'type': 'function'}, {'id': 'h9phazqpb', 'function': {'arguments': '{\"mermaid_code\":\"flowchart TD\\\\n A([Start]):::start\\\\n subgraph W1[\\\\\"Week 1\\\\\"]\\\\n B[CS-FAST-101]:::gap\\\\n end\\\\n subgraph W2[\\\\\"Week 2\\\\\"]\\\\n C[CS-DB-101]:::gap\\\\n end\\\\n subgraph W3[\\\\\"Week 3\\\\\"]\\\\n D[CS-DOCKER-101]:::gap\\\\n end\\\\n subgraph W4[\\\\\"Week 4\\\\\"]\\\\n E[CS-FAST-201]:::gap\\\\n end\\\\n subgraph W5[\\\\\"Week 5\\\\\"]\\\\n F[CS-DB-201]:::gap\\\\n end\\\\n Z([Ready]):::done\\\\n A --\\\\u003e B --\\\\u003e C --\\\\u003e D --\\\\u003e E --\\\\u003e F --\\\\u003e Z\\\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\\\n classDef start fill:#1D9E75,stroke:#0F6E56\\\\n classDef done fill:#534AB7,stroke:#3C3489\"}', 'name': 'submit_mermaid_visualization'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 1350, 'prompt_tokens': 3008, 'total_tokens': 4358, 'completion_time': 2.38863248, 'completion_tokens_details': {'reasoning_tokens': 685}, 'prompt_time': 0.136514084, 'prompt_tokens_details': None, 'queue_time': 0.044030126, 'total_time': 2.525146564}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-be3d-7de2-9310-9fbcc34ce8b8-0', tool_calls=[{'name': 'submit_final_roadmap', 'args': {'candidate_name': 'Chirayu Jain', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'is_foundation': True, 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'sequence_order': 1, 'title': 'REST API Development with FastAPI'}, {'course_id': 'CS-DB-101', 'is_foundation': True, 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'sequence_order': 2, 'title': 'SQL Fundamentals for Backend Developers'}, {'course_id': 'CS-DOCKER-101', 'is_foundation': True, 'reasoning': 'Core containerization skills needed for consistent deployment', 'sequence_order': 3, 'title': 'Docker & Containerization Fundamentals'}, {'course_id': 'CS-FAST-201', 'is_foundation': False, 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'sequence_order': 4, 'title': 'Advanced API Design with FastAPI'}, {'course_id': 'CS-DB-201', 'is_foundation': False, 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'sequence_order': 5, 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization'}], 'target_role': 'Backend Developer'}, 'id': 'mm78w2e88', 'type': 'tool_call'}, {'name': 'submit_mermaid_visualization', 'args': {'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489'}, 'id': 'h9phazqpb', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 3008, 'output_tokens': 1350, 'total_tokens': 4358, 'output_token_details': {'reasoning': 685}})]}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb'), AIMessage(content='', additional_kwargs={'reasoning_content': 'Okay, let\\'s start by understanding the user\\'s problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the provided skill gap analysis. The gaps identified are FastAPI, PostgreSQL, and Docker, all with high priority. The user is an expert technical onboarding architect, so the solution needs to be efficient and logically sequenced.\\n\\nFirst, I need to follow the strict workflow provided. The first step is to search for courses for each gap using the search_courses function. The user emphasized using only the course IDs returned by the tool, so I can\\'t guess any IDs. \\n\\nFor each skill gap (FastAPI, PostgreSQL, Docker), I\\'ll call search_courses. Let\\'s start with FastAPI. The function requires a query parameter, which should be the skill name. So, I\\'ll use \"FastAPI\" as the query. Then do the same for PostgreSQL and Docker. \\n\\nAssuming the tool returns valid course IDs, the next step is to sequence them. Since is_fresher_adaptation_needed is False, we don\\'t need to add professional fundamentals first. The sequence_order should be 1, 2, 3, etc. Each course will be in a separate week. \\n\\nAfter sequencing, I need to create the Mermaid diagram. Each course will be in a subgraph for the respective week, labeled as W1, W2, W3. The start and end nodes will be marked with the appropriate classes. \\n\\nFinally, submit the final roadmap and the Mermaid visualization. The roadmap should include the candidate\\'s name, target role, and the sequenced courses with their details. The Mermaid code should correctly map the sequence and group the weeks.\\n\\nI need to make sure that each step is followed in order and that the tools are called correctly. Also, check that the JSON structures are properly formatted when submitting the final roadmap and visualization.\\n', 'tool_calls': [{'id': 'tk112hq0c', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z12xgzqbr', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z2ccjm3w2', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 456, 'prompt_tokens': 1559, 'total_tokens': 2015, 'completion_time': 0.929203584, 'completion_tokens_details': {'reasoning_tokens': 389}, 'prompt_time': 0.064193024, 'prompt_tokens_details': None, 'queue_time': 0.044726596, 'total_time': 0.993396608}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-aed2-77c0-a431-2f2f4ae627a9-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'tk112hq0c', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'z12xgzqbr', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'z2ccjm3w2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1559, 'output_tokens': 456, 'total_tokens': 2015, 'output_token_details': {'reasoning': 389}}), ToolMessage(content=\"ID: CS-FAST-101\\nCourse Title: REST API Development with FastAPI\\nCategory: Backend\\nDescription: A project-driven course for building production-quality REST APIs with Python's FastAPI framework. Students learn to define typed routes with path and query parameters, leverage Pydantic models for automatic request validation and serialization, implement dependency injection, and secure endpoints using JWT-based Bearer token authentication.\\nLearning Outcomes: Create REST endpoints with path and query params, Validate request/response with Pydantic models, Implement JWT-based authentication\\n---\\nID: CS-FAST-201\\nCourse Title: Advanced API Design with FastAPI\\nCategory: Backend\\nDescription: An advanced course for engineers building high-performance, secure backend services with FastAPI. Students implement full OAuth2 authorization code and client credentials flows, build async database CRUD endpoints using SQLAlchemy 2.0 with asyncpg, design layered dependency injection architectures, create custom middleware for logging and rate limiting, and run Celery background task queues.\\nLearning Outcomes: Implement OAuth2 authentication flows, Build async database endpoints with SQLAlchemy, Use dependency injection and middleware patterns\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: OPS-K8S-101\\nCourse Title: Kubernetes for AI Workloads\\nCategory: MLOps\\nDescription: An introduction to K8s specifically for ML engineers. Covers pod orchestration, GPU resource allocation, and scaling FastAPI backends on clusters.\\nLearning Outcomes: Deploy ML models as K8s services, Configure GPU-enabled worker nodes, Manage cluster auto-scaling for inference bursts\\n---\", name='search_courses', id='81dc0c18-afd0-48cf-93e2-3f84aeb4697d', tool_call_id='tk112hq0c'), ToolMessage(content='ID: CS-DB-101\\nCourse Title: SQL Fundamentals for Backend Developers\\nCategory: Database\\nDescription: A hands-on introduction to relational database theory and practice using SQLite and PostgreSQL. Students learn to model data with schemas, enforce referential integrity through primary and foreign keys, and interact with data using full CRUD operations and multi-table JOINs.\\nLearning Outcomes: Write basic SELECT queries with filters, Understand Primary and Foreign Keys, Perform data insertion, updates, and deletions\\n---\\nID: CS-DB-201\\nCourse Title: Advanced SQL Ò€” Indexing, Transactions & Query Optimization\\nCategory: Database\\nDescription: A deep dive into production-grade SQL performance and reliability. Students master analytical window functions, Common Table Expressions (CTEs), query execution plan analysis using EXPLAIN/ANALYZE, B-tree and partial index strategies, and ACID-compliant transaction management including deadlock detection and prevention.\\nLearning Outcomes: Use window functions and CTEs, Analyze and optimize slow queries with EXPLAIN, Manage ACID transactions and deadlock prevention\\n---\\nID: BUS-SQL-201\\nCourse Title: SQL for Workforce Analytics\\nCategory: Data Science\\nDescription: Learn to query internal talent databases. Covers JOINs, aggregations, and subqueries to find hiring trends and predict churn.\\nLearning Outcomes: Write SQL queries to extract talent metrics, Analyze historical hiring data for trends, Build basic labor supply reports\\n---\\nID: CS-DB-301\\nCourse Title: NoSQL Databases Ò€” MongoDB & Redis\\nCategory: Database\\nDescription: Practical training in document and key-value store paradigms for modern applications. Covers MongoDB schema design, flexible document modeling, the aggregation pipeline for complex data transformations, and Redis as both a high-speed caching layer and a pub/sub message broker with TTL-based eviction strategies.\\nLearning Outcomes: Design document schemas in MongoDB, Build aggregation pipelines, Implement caching with Redis TTL strategies\\n---', name='search_courses', id='7d61cda6-fd9d-4f36-8b71-8df2e24b95fb', tool_call_id='z12xgzqbr'), ToolMessage(content='ID: CS-DOCKER-101\\nCourse Title: Docker & Containerization Fundamentals\\nCategory: DevOps\\nDescription: A practical guide to application containerization using Docker. Students learn to write optimized multi-stage Dockerfiles, manage images and container lifecycles, configure bridge and overlay networking, use named volumes for data persistence, and orchestrate multi-service applications with Docker Compose for local and staging environments.\\nLearning Outcomes: Write efficient multi-stage Dockerfiles, Manage container lifecycle and networking, Orchestrate multi-service apps with Docker Compose\\n---\\nID: CS-CICD-201\\nCourse Title: CI/CD Pipelines with GitHub Actions\\nCategory: DevOps\\nDescription: A hands-on course in automating the full software delivery lifecycle using GitHub Actions. Students define multi-job workflows with matrix builds, integrate linting and pytest test suites as required CI checks, automate Docker image builds and pushes to registries, and manage environment secrets and deployment approvals for staging and production environments.\\nLearning Outcomes: Create GitHub Actions workflows for CI/CD, Automate Docker image builds and pushes, Manage secrets and environment variables securely\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: CS-K8S-301\\nCourse Title: Kubernetes Ò€” Container Orchestration at Scale\\nCategory: DevOps\\nDescription: A comprehensive course on running containerized workloads in production with Kubernetes. Students deploy stateless and stateful applications using Deployments and StatefulSets, expose services through ClusterIP, NodePort, and Ingress controllers, manage configuration and secrets with ConfigMaps and Secrets, autoscale workloads with HPA, and package applications for repeatable releases using Helm charts.\\nLearning Outcomes: Deploy applications using Deployments and StatefulSets, Configure Services, Ingress, and ConfigMaps, Manage releases with Helm charts\\n---', name='search_courses', id='eda8cd08-a93d-4b9e-8ed4-c2af30a4b4fc', tool_call_id='z2ccjm3w2'), AIMessage(content='', additional_kwargs={'reasoning_content': \"Okay, let's start by looking at the user's problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the skill gaps identified. The gaps are in FastAPI, PostgreSQL, and Docker. The user has provided the search results for each of these skills, and now I need to sequence them into a logical order.\\n\\nFirst, I need to check if any foundational courses are required. The user mentioned that is_fresher_adaptation_needed is False, so we don't need to add any professional fundamentals first. That means we can start directly with the identified gaps.\\n\\nLooking at the FastAPI courses, there's CS-FAST-101 and CS-FAST-201. Since the target competency is to develop high-performance asynchronous APIs, the first course (CS-FAST-101) is the foundation. The advanced course (CS-FAST-201) would come after mastering the basics.\\n\\nFor PostgreSQL, the relevant courses are CS-DB-101 and CS-DB-201. The candidate has experience with MySQL and SQLite, so starting with CS-DB-101 makes sense to build a solid foundation in SQL fundamentals. Then, moving to CS-DB-201 for advanced topics like indexing and transactions.\\n\\nFor Docker, the course CS-DOCKER-101 is the fundamental one. The other Docker-related courses are either part of other tracks (like CS-CICD-201 for CI/CD) or part of MLOps, which isn't the focus here. So CS-DOCKER-101 is the right choice here.\\n\\nNow, sequencing these courses. The order should allow Chirayu to build skills progressively. Starting with FastAPI makes sense because it's a framework he's somewhat familiar with (Python and Flask), so transitioning to FastAPI would be logical. Then, moving to PostgreSQL to handle database management, followed by Docker for containerization. Each of these can be spread over weeks, maybe one course per week.\\n\\nI need to assign sequence_order numbers. Let's see:\\n\\n1. FastAPI Fundamentals (CS-FAST-101) - Week 1\\n2. PostgreSQL Fundamentals (CS-DB-101) - Week 2\\n3. Docker Fundamentals (CS-DOCKER-101) - Week 3\\n4. Advanced FastAPI (CS-FAST-201) - Week 4\\n5. Advanced PostgreSQL (CS-DB-201) - Week 5\\n\\nThis order ensures that foundational skills are built first before moving to advanced topics. Each course is a prerequisite for the next in their respective tracks. The Mermaid diagram should reflect this sequence with subgraphs for each week.\\n\\nI also need to make sure that the reasoning for each course choice is clear. For example, CS-FAST-101 is chosen because it covers the basics needed for developing APIs with FastAPI, which is a high-priority gap. Similarly, CS-DB-101 provides the necessary SQL fundamentals before moving to advanced PostgreSQL topics.\\n\\nFinally, compiling all this into the required JSON format for the final roadmap and the Mermaid visualization. Double-checking that all course IDs are from the search results and that the sequence makes logical sense for skill progression.\\n\", 'tool_calls': [{'id': 'mm78w2e88', 'function': {'arguments': '{\"candidate_name\":\"Chirayu Jain\",\"onboarding_summary\":\"4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.\",\"roadmap\":[{\"course_id\":\"CS-FAST-101\",\"is_foundation\":true,\"reasoning\":\"Foundational course to build FastAPI skills required for high-performance API development\",\"sequence_order\":1,\"title\":\"REST API Development with FastAPI\"},{\"course_id\":\"CS-DB-101\",\"is_foundation\":true,\"reasoning\":\"Establish PostgreSQL foundation before advanced database work\",\"sequence_order\":2,\"title\":\"SQL Fundamentals for Backend Developers\"},{\"course_id\":\"CS-DOCKER-101\",\"is_foundation\":true,\"reasoning\":\"Core containerization skills needed for consistent deployment\",\"sequence_order\":3,\"title\":\"Docker \\\\u0026 Containerization Fundamentals\"},{\"course_id\":\"CS-FAST-201\",\"is_foundation\":false,\"reasoning\":\"Build on FastAPI fundamentals with async database integration\",\"sequence_order\":4,\"title\":\"Advanced API Design with FastAPI\"},{\"course_id\":\"CS-DB-201\",\"is_foundation\":false,\"reasoning\":\"Deepen PostgreSQL expertise for production-grade database work\",\"sequence_order\":5,\"title\":\"Advanced SQL - Indexing, Transactions \\\\u0026 Query Optimization\"}],\"target_role\":\"Backend Developer\"}', 'name': 'submit_final_roadmap'}, 'type': 'function'}, {'id': 'h9phazqpb', 'function': {'arguments': '{\"mermaid_code\":\"flowchart TD\\\\n A([Start]):::start\\\\n subgraph W1[\\\\\"Week 1\\\\\"]\\\\n B[CS-FAST-101]:::gap\\\\n end\\\\n subgraph W2[\\\\\"Week 2\\\\\"]\\\\n C[CS-DB-101]:::gap\\\\n end\\\\n subgraph W3[\\\\\"Week 3\\\\\"]\\\\n D[CS-DOCKER-101]:::gap\\\\n end\\\\n subgraph W4[\\\\\"Week 4\\\\\"]\\\\n E[CS-FAST-201]:::gap\\\\n end\\\\n subgraph W5[\\\\\"Week 5\\\\\"]\\\\n F[CS-DB-201]:::gap\\\\n end\\\\n Z([Ready]):::done\\\\n A --\\\\u003e B --\\\\u003e C --\\\\u003e D --\\\\u003e E --\\\\u003e F --\\\\u003e Z\\\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\\\n classDef start fill:#1D9E75,stroke:#0F6E56\\\\n classDef done fill:#534AB7,stroke:#3C3489\"}', 'name': 'submit_mermaid_visualization'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 1350, 'prompt_tokens': 3008, 'total_tokens': 4358, 'completion_time': 2.38863248, 'completion_tokens_details': {'reasoning_tokens': 685}, 'prompt_time': 0.136514084, 'prompt_tokens_details': None, 'queue_time': 0.044030126, 'total_time': 2.525146564}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-be3d-7de2-9310-9fbcc34ce8b8-0', tool_calls=[{'name': 'submit_final_roadmap', 'args': {'candidate_name': 'Chirayu Jain', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'is_foundation': True, 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'sequence_order': 1, 'title': 'REST API Development with FastAPI'}, {'course_id': 'CS-DB-101', 'is_foundation': True, 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'sequence_order': 2, 'title': 'SQL Fundamentals for Backend Developers'}, {'course_id': 'CS-DOCKER-101', 'is_foundation': True, 'reasoning': 'Core containerization skills needed for consistent deployment', 'sequence_order': 3, 'title': 'Docker & Containerization Fundamentals'}, {'course_id': 'CS-FAST-201', 'is_foundation': False, 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'sequence_order': 4, 'title': 'Advanced API Design with FastAPI'}, {'course_id': 'CS-DB-201', 'is_foundation': False, 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'sequence_order': 5, 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization'}], 'target_role': 'Backend Developer'}, 'id': 'mm78w2e88', 'type': 'tool_call'}, {'name': 'submit_mermaid_visualization', 'args': {'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489'}, 'id': 'h9phazqpb', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 3008, 'output_tokens': 1350, 'total_tokens': 4358, 'output_token_details': {'reasoning': 685}})], 'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')])}\n", - "\u001b[1m[updates]\u001b[0m {'tools': [{'final_roadmap': {'candidate_name': 'Chirayu Jain', 'target_role': 'Backend Developer', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'title': 'REST API Development with FastAPI', 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'is_foundation': True, 'sequence_order': 1}, {'course_id': 'CS-DB-101', 'title': 'SQL Fundamentals for Backend Developers', 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'is_foundation': True, 'sequence_order': 2}, {'course_id': 'CS-DOCKER-101', 'title': 'Docker & Containerization Fundamentals', 'reasoning': 'Core containerization skills needed for consistent deployment', 'is_foundation': True, 'sequence_order': 3}, {'course_id': 'CS-FAST-201', 'title': 'Advanced API Design with FastAPI', 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'is_foundation': False, 'sequence_order': 4}, {'course_id': 'CS-DB-201', 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization', 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'is_foundation': False, 'sequence_order': 5}]}}, {'messages': [ToolMessage(content='SUCCESS: Final roadmap has been submitted and saved to state.', name='submit_final_roadmap', id='195a42f9-9bf9-4df4-a864-93dd6c497b98', tool_call_id='mm78w2e88')]}, {'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489'}, {'messages': [ToolMessage(content='SUCCESS: Mermaid visualization saved successfully.', name='submit_mermaid_visualization', id='e54942a8-a7e4-4ba2-adae-0df4d2fd46bd', tool_call_id='h9phazqpb')]}]}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb'), AIMessage(content='', additional_kwargs={'reasoning_content': 'Okay, let\\'s start by understanding the user\\'s problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the provided skill gap analysis. The gaps identified are FastAPI, PostgreSQL, and Docker, all with high priority. The user is an expert technical onboarding architect, so the solution needs to be efficient and logically sequenced.\\n\\nFirst, I need to follow the strict workflow provided. The first step is to search for courses for each gap using the search_courses function. The user emphasized using only the course IDs returned by the tool, so I can\\'t guess any IDs. \\n\\nFor each skill gap (FastAPI, PostgreSQL, Docker), I\\'ll call search_courses. Let\\'s start with FastAPI. The function requires a query parameter, which should be the skill name. So, I\\'ll use \"FastAPI\" as the query. Then do the same for PostgreSQL and Docker. \\n\\nAssuming the tool returns valid course IDs, the next step is to sequence them. Since is_fresher_adaptation_needed is False, we don\\'t need to add professional fundamentals first. The sequence_order should be 1, 2, 3, etc. Each course will be in a separate week. \\n\\nAfter sequencing, I need to create the Mermaid diagram. Each course will be in a subgraph for the respective week, labeled as W1, W2, W3. The start and end nodes will be marked with the appropriate classes. \\n\\nFinally, submit the final roadmap and the Mermaid visualization. The roadmap should include the candidate\\'s name, target role, and the sequenced courses with their details. The Mermaid code should correctly map the sequence and group the weeks.\\n\\nI need to make sure that each step is followed in order and that the tools are called correctly. Also, check that the JSON structures are properly formatted when submitting the final roadmap and visualization.\\n', 'tool_calls': [{'id': 'tk112hq0c', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z12xgzqbr', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z2ccjm3w2', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 456, 'prompt_tokens': 1559, 'total_tokens': 2015, 'completion_time': 0.929203584, 'completion_tokens_details': {'reasoning_tokens': 389}, 'prompt_time': 0.064193024, 'prompt_tokens_details': None, 'queue_time': 0.044726596, 'total_time': 0.993396608}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-aed2-77c0-a431-2f2f4ae627a9-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'tk112hq0c', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'z12xgzqbr', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'z2ccjm3w2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1559, 'output_tokens': 456, 'total_tokens': 2015, 'output_token_details': {'reasoning': 389}}), ToolMessage(content=\"ID: CS-FAST-101\\nCourse Title: REST API Development with FastAPI\\nCategory: Backend\\nDescription: A project-driven course for building production-quality REST APIs with Python's FastAPI framework. Students learn to define typed routes with path and query parameters, leverage Pydantic models for automatic request validation and serialization, implement dependency injection, and secure endpoints using JWT-based Bearer token authentication.\\nLearning Outcomes: Create REST endpoints with path and query params, Validate request/response with Pydantic models, Implement JWT-based authentication\\n---\\nID: CS-FAST-201\\nCourse Title: Advanced API Design with FastAPI\\nCategory: Backend\\nDescription: An advanced course for engineers building high-performance, secure backend services with FastAPI. Students implement full OAuth2 authorization code and client credentials flows, build async database CRUD endpoints using SQLAlchemy 2.0 with asyncpg, design layered dependency injection architectures, create custom middleware for logging and rate limiting, and run Celery background task queues.\\nLearning Outcomes: Implement OAuth2 authentication flows, Build async database endpoints with SQLAlchemy, Use dependency injection and middleware patterns\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: OPS-K8S-101\\nCourse Title: Kubernetes for AI Workloads\\nCategory: MLOps\\nDescription: An introduction to K8s specifically for ML engineers. Covers pod orchestration, GPU resource allocation, and scaling FastAPI backends on clusters.\\nLearning Outcomes: Deploy ML models as K8s services, Configure GPU-enabled worker nodes, Manage cluster auto-scaling for inference bursts\\n---\", name='search_courses', id='81dc0c18-afd0-48cf-93e2-3f84aeb4697d', tool_call_id='tk112hq0c'), ToolMessage(content='ID: CS-DB-101\\nCourse Title: SQL Fundamentals for Backend Developers\\nCategory: Database\\nDescription: A hands-on introduction to relational database theory and practice using SQLite and PostgreSQL. Students learn to model data with schemas, enforce referential integrity through primary and foreign keys, and interact with data using full CRUD operations and multi-table JOINs.\\nLearning Outcomes: Write basic SELECT queries with filters, Understand Primary and Foreign Keys, Perform data insertion, updates, and deletions\\n---\\nID: CS-DB-201\\nCourse Title: Advanced SQL Ò€” Indexing, Transactions & Query Optimization\\nCategory: Database\\nDescription: A deep dive into production-grade SQL performance and reliability. Students master analytical window functions, Common Table Expressions (CTEs), query execution plan analysis using EXPLAIN/ANALYZE, B-tree and partial index strategies, and ACID-compliant transaction management including deadlock detection and prevention.\\nLearning Outcomes: Use window functions and CTEs, Analyze and optimize slow queries with EXPLAIN, Manage ACID transactions and deadlock prevention\\n---\\nID: BUS-SQL-201\\nCourse Title: SQL for Workforce Analytics\\nCategory: Data Science\\nDescription: Learn to query internal talent databases. Covers JOINs, aggregations, and subqueries to find hiring trends and predict churn.\\nLearning Outcomes: Write SQL queries to extract talent metrics, Analyze historical hiring data for trends, Build basic labor supply reports\\n---\\nID: CS-DB-301\\nCourse Title: NoSQL Databases Ò€” MongoDB & Redis\\nCategory: Database\\nDescription: Practical training in document and key-value store paradigms for modern applications. Covers MongoDB schema design, flexible document modeling, the aggregation pipeline for complex data transformations, and Redis as both a high-speed caching layer and a pub/sub message broker with TTL-based eviction strategies.\\nLearning Outcomes: Design document schemas in MongoDB, Build aggregation pipelines, Implement caching with Redis TTL strategies\\n---', name='search_courses', id='7d61cda6-fd9d-4f36-8b71-8df2e24b95fb', tool_call_id='z12xgzqbr'), ToolMessage(content='ID: CS-DOCKER-101\\nCourse Title: Docker & Containerization Fundamentals\\nCategory: DevOps\\nDescription: A practical guide to application containerization using Docker. Students learn to write optimized multi-stage Dockerfiles, manage images and container lifecycles, configure bridge and overlay networking, use named volumes for data persistence, and orchestrate multi-service applications with Docker Compose for local and staging environments.\\nLearning Outcomes: Write efficient multi-stage Dockerfiles, Manage container lifecycle and networking, Orchestrate multi-service apps with Docker Compose\\n---\\nID: CS-CICD-201\\nCourse Title: CI/CD Pipelines with GitHub Actions\\nCategory: DevOps\\nDescription: A hands-on course in automating the full software delivery lifecycle using GitHub Actions. Students define multi-job workflows with matrix builds, integrate linting and pytest test suites as required CI checks, automate Docker image builds and pushes to registries, and manage environment secrets and deployment approvals for staging and production environments.\\nLearning Outcomes: Create GitHub Actions workflows for CI/CD, Automate Docker image builds and pushes, Manage secrets and environment variables securely\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: CS-K8S-301\\nCourse Title: Kubernetes Ò€” Container Orchestration at Scale\\nCategory: DevOps\\nDescription: A comprehensive course on running containerized workloads in production with Kubernetes. Students deploy stateless and stateful applications using Deployments and StatefulSets, expose services through ClusterIP, NodePort, and Ingress controllers, manage configuration and secrets with ConfigMaps and Secrets, autoscale workloads with HPA, and package applications for repeatable releases using Helm charts.\\nLearning Outcomes: Deploy applications using Deployments and StatefulSets, Configure Services, Ingress, and ConfigMaps, Manage releases with Helm charts\\n---', name='search_courses', id='eda8cd08-a93d-4b9e-8ed4-c2af30a4b4fc', tool_call_id='z2ccjm3w2'), AIMessage(content='', additional_kwargs={'reasoning_content': \"Okay, let's start by looking at the user's problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the skill gaps identified. The gaps are in FastAPI, PostgreSQL, and Docker. The user has provided the search results for each of these skills, and now I need to sequence them into a logical order.\\n\\nFirst, I need to check if any foundational courses are required. The user mentioned that is_fresher_adaptation_needed is False, so we don't need to add any professional fundamentals first. That means we can start directly with the identified gaps.\\n\\nLooking at the FastAPI courses, there's CS-FAST-101 and CS-FAST-201. Since the target competency is to develop high-performance asynchronous APIs, the first course (CS-FAST-101) is the foundation. The advanced course (CS-FAST-201) would come after mastering the basics.\\n\\nFor PostgreSQL, the relevant courses are CS-DB-101 and CS-DB-201. The candidate has experience with MySQL and SQLite, so starting with CS-DB-101 makes sense to build a solid foundation in SQL fundamentals. Then, moving to CS-DB-201 for advanced topics like indexing and transactions.\\n\\nFor Docker, the course CS-DOCKER-101 is the fundamental one. The other Docker-related courses are either part of other tracks (like CS-CICD-201 for CI/CD) or part of MLOps, which isn't the focus here. So CS-DOCKER-101 is the right choice here.\\n\\nNow, sequencing these courses. The order should allow Chirayu to build skills progressively. Starting with FastAPI makes sense because it's a framework he's somewhat familiar with (Python and Flask), so transitioning to FastAPI would be logical. Then, moving to PostgreSQL to handle database management, followed by Docker for containerization. Each of these can be spread over weeks, maybe one course per week.\\n\\nI need to assign sequence_order numbers. Let's see:\\n\\n1. FastAPI Fundamentals (CS-FAST-101) - Week 1\\n2. PostgreSQL Fundamentals (CS-DB-101) - Week 2\\n3. Docker Fundamentals (CS-DOCKER-101) - Week 3\\n4. Advanced FastAPI (CS-FAST-201) - Week 4\\n5. Advanced PostgreSQL (CS-DB-201) - Week 5\\n\\nThis order ensures that foundational skills are built first before moving to advanced topics. Each course is a prerequisite for the next in their respective tracks. The Mermaid diagram should reflect this sequence with subgraphs for each week.\\n\\nI also need to make sure that the reasoning for each course choice is clear. For example, CS-FAST-101 is chosen because it covers the basics needed for developing APIs with FastAPI, which is a high-priority gap. Similarly, CS-DB-101 provides the necessary SQL fundamentals before moving to advanced PostgreSQL topics.\\n\\nFinally, compiling all this into the required JSON format for the final roadmap and the Mermaid visualization. Double-checking that all course IDs are from the search results and that the sequence makes logical sense for skill progression.\\n\", 'tool_calls': [{'id': 'mm78w2e88', 'function': {'arguments': '{\"candidate_name\":\"Chirayu Jain\",\"onboarding_summary\":\"4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.\",\"roadmap\":[{\"course_id\":\"CS-FAST-101\",\"is_foundation\":true,\"reasoning\":\"Foundational course to build FastAPI skills required for high-performance API development\",\"sequence_order\":1,\"title\":\"REST API Development with FastAPI\"},{\"course_id\":\"CS-DB-101\",\"is_foundation\":true,\"reasoning\":\"Establish PostgreSQL foundation before advanced database work\",\"sequence_order\":2,\"title\":\"SQL Fundamentals for Backend Developers\"},{\"course_id\":\"CS-DOCKER-101\",\"is_foundation\":true,\"reasoning\":\"Core containerization skills needed for consistent deployment\",\"sequence_order\":3,\"title\":\"Docker \\\\u0026 Containerization Fundamentals\"},{\"course_id\":\"CS-FAST-201\",\"is_foundation\":false,\"reasoning\":\"Build on FastAPI fundamentals with async database integration\",\"sequence_order\":4,\"title\":\"Advanced API Design with FastAPI\"},{\"course_id\":\"CS-DB-201\",\"is_foundation\":false,\"reasoning\":\"Deepen PostgreSQL expertise for production-grade database work\",\"sequence_order\":5,\"title\":\"Advanced SQL - Indexing, Transactions \\\\u0026 Query Optimization\"}],\"target_role\":\"Backend Developer\"}', 'name': 'submit_final_roadmap'}, 'type': 'function'}, {'id': 'h9phazqpb', 'function': {'arguments': '{\"mermaid_code\":\"flowchart TD\\\\n A([Start]):::start\\\\n subgraph W1[\\\\\"Week 1\\\\\"]\\\\n B[CS-FAST-101]:::gap\\\\n end\\\\n subgraph W2[\\\\\"Week 2\\\\\"]\\\\n C[CS-DB-101]:::gap\\\\n end\\\\n subgraph W3[\\\\\"Week 3\\\\\"]\\\\n D[CS-DOCKER-101]:::gap\\\\n end\\\\n subgraph W4[\\\\\"Week 4\\\\\"]\\\\n E[CS-FAST-201]:::gap\\\\n end\\\\n subgraph W5[\\\\\"Week 5\\\\\"]\\\\n F[CS-DB-201]:::gap\\\\n end\\\\n Z([Ready]):::done\\\\n A --\\\\u003e B --\\\\u003e C --\\\\u003e D --\\\\u003e E --\\\\u003e F --\\\\u003e Z\\\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\\\n classDef start fill:#1D9E75,stroke:#0F6E56\\\\n classDef done fill:#534AB7,stroke:#3C3489\"}', 'name': 'submit_mermaid_visualization'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 1350, 'prompt_tokens': 3008, 'total_tokens': 4358, 'completion_time': 2.38863248, 'completion_tokens_details': {'reasoning_tokens': 685}, 'prompt_time': 0.136514084, 'prompt_tokens_details': None, 'queue_time': 0.044030126, 'total_time': 2.525146564}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-be3d-7de2-9310-9fbcc34ce8b8-0', tool_calls=[{'name': 'submit_final_roadmap', 'args': {'candidate_name': 'Chirayu Jain', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'is_foundation': True, 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'sequence_order': 1, 'title': 'REST API Development with FastAPI'}, {'course_id': 'CS-DB-101', 'is_foundation': True, 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'sequence_order': 2, 'title': 'SQL Fundamentals for Backend Developers'}, {'course_id': 'CS-DOCKER-101', 'is_foundation': True, 'reasoning': 'Core containerization skills needed for consistent deployment', 'sequence_order': 3, 'title': 'Docker & Containerization Fundamentals'}, {'course_id': 'CS-FAST-201', 'is_foundation': False, 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'sequence_order': 4, 'title': 'Advanced API Design with FastAPI'}, {'course_id': 'CS-DB-201', 'is_foundation': False, 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'sequence_order': 5, 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization'}], 'target_role': 'Backend Developer'}, 'id': 'mm78w2e88', 'type': 'tool_call'}, {'name': 'submit_mermaid_visualization', 'args': {'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489'}, 'id': 'h9phazqpb', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 3008, 'output_tokens': 1350, 'total_tokens': 4358, 'output_token_details': {'reasoning': 685}}), ToolMessage(content='SUCCESS: Final roadmap has been submitted and saved to state.', name='submit_final_roadmap', id='195a42f9-9bf9-4df4-a864-93dd6c497b98', tool_call_id='mm78w2e88'), ToolMessage(content='SUCCESS: Mermaid visualization saved successfully.', name='submit_mermaid_visualization', id='e54942a8-a7e4-4ba2-adae-0df4d2fd46bd', tool_call_id='h9phazqpb')], 'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')]), 'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489', 'final_roadmap': {'candidate_name': 'Chirayu Jain', 'target_role': 'Backend Developer', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'title': 'REST API Development with FastAPI', 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'is_foundation': True, 'sequence_order': 1}, {'course_id': 'CS-DB-101', 'title': 'SQL Fundamentals for Backend Developers', 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'is_foundation': True, 'sequence_order': 2}, {'course_id': 'CS-DOCKER-101', 'title': 'Docker & Containerization Fundamentals', 'reasoning': 'Core containerization skills needed for consistent deployment', 'is_foundation': True, 'sequence_order': 3}, {'course_id': 'CS-FAST-201', 'title': 'Advanced API Design with FastAPI', 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'is_foundation': False, 'sequence_order': 4}, {'course_id': 'CS-DB-201', 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization', 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'is_foundation': False, 'sequence_order': 5}]}}\n", - "\u001b[1m[updates]\u001b[0m {'roadmap_planning_agent': {'messages': [AIMessage(content='βœ… **Onboarding Roadmap Finalized for Chirayu Jain** \\n**Target Role:** Backend Developer \\n**Duration:** 5 Weeks \\n\\n### πŸ“Œ Key Components \\n1. **Week 1:** FastAPI Fundamentals (CS-FAST-101) \\n2. **Week 2:** PostgreSQL Foundations (CS-DB-101) \\n3. **Week 3:** Docker Core Skills (CS-DOCKER-101) \\n4. **Week 4:** Advanced FastAPI (CS-FAST-201) \\n5. **Week 5:** PostgreSQL Optimization (CS-DB-201) \\n\\n### πŸ“š Course Rationale \\n- **CS-FAST-101** establishes core API development patterns required for CodeForge’s backend stack. \\n- **CS-DB-101** builds foundational PostgreSQL proficiency before advanced optimization. \\n- **CS-DOCKER-101** ensures containerization skills for deployment consistency. \\n- Advanced courses (CS-FAST-201, CS-DB-201) deepen expertise in async workflows and database performance. \\n\\n### πŸ“Š Visual Roadmap \\nA Mermaid flowchart has been generated to visualize the sequence. \\n\\nLet me know if you need adjustments to the timeline or course selections!', additional_kwargs={'reasoning_content': \"Okay, let's break down what needs to be done here. The user provided a skill gap analysis for Chirayu Jain, who is a Backend Developer. The gaps identified are in FastAPI, PostgreSQL, and Docker. The task is to create a learning roadmap based on these gaps.\\n\\nFirst, I need to check if there are any courses available for each of these skills. The user has already called the search_courses function for each skill and received responses. Now, I need to select the most appropriate courses from the search results.\\n\\nFor FastAPI, the courses CS-FAST-101 and CS-FAST-201 are available. Since the candidate has Python and Flask experience but no FastAPI, starting with the foundational course CS-FAST-101 makes sense. The advanced course can come later once the basics are covered.\\n\\nFor PostgreSQL, the candidate has experience with MySQL and SQLite, so the SQL Fundamentals course (CS-DB-101) would be a good starting point to transition to PostgreSQL. Then, moving to the advanced SQL course (CS-DB-201) would build on that foundation.\\n\\nDocker is entirely new, so the fundamentals course (CS-DOCKER-101) is essential to get started with containerization. The other Docker-related courses are either part of other tracks (like MLOps) or more advanced, so they might not be necessary here.\\n\\nNext, sequencing the courses. Since there's no mention of fresher adaptation needed, the sequence can start directly with the foundational courses. The order should be FastAPI first, then PostgreSQL, followed by Docker. After the foundations, the advanced courses can follow.\\n\\nThe roadmap should be structured over weeks, with each course taking a week. The summary should highlight the 4-5 week plan focusing on the critical skills. The Mermaid diagram needs to reflect this sequence with weeks as subgraphs.\\n\\nFinally, ensure that all the correct course IDs are used and that the reasoning for each course selection is clear. Also, check that the Mermaid code correctly maps the sequence and formatting.\\n\"}, response_metadata={'token_usage': {'completion_tokens': 703, 'prompt_tokens': 3715, 'total_tokens': 4418, 'completion_time': 1.556481651, 'completion_tokens_details': {'reasoning_tokens': 426}, 'prompt_time': 0.180619391, 'prompt_tokens_details': None, 'queue_time': 0.045325729, 'total_time': 1.737101042}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'stop', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-c878-7740-b9e7-2776e494fe50-0', tool_calls=[], invalid_tool_calls=[], usage_metadata={'input_tokens': 3715, 'output_tokens': 703, 'total_tokens': 4418, 'output_token_details': {'reasoning': 426}})]}}\n", - "\u001b[1m[values]\u001b[0m {'candidate_name': 'Chirayu Jain', 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.', 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf', 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ', 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires FastAPI; candidate\\'s resume shows Python and Flask experience but no record of using FastAPI framework.\",\\n \"target_competency\": \"Develop high-performance asynchronous APIs using FastAPI\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.\",\\n \"target_competency\": \"Design and manage relational databases with PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD lists Docker as a required technology; candidate\\'s profile contains no Docker usage or containerization experience.\",\\n \"target_competency\": \"Containerize applications using Docker for consistent deployment\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.\"\\n}\\n\\n ', additional_kwargs={}, response_metadata={}, id='5048b99a-0ef9-45fd-9dde-153379f3e1fb'), AIMessage(content='', additional_kwargs={'reasoning_content': 'Okay, let\\'s start by understanding the user\\'s problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the provided skill gap analysis. The gaps identified are FastAPI, PostgreSQL, and Docker, all with high priority. The user is an expert technical onboarding architect, so the solution needs to be efficient and logically sequenced.\\n\\nFirst, I need to follow the strict workflow provided. The first step is to search for courses for each gap using the search_courses function. The user emphasized using only the course IDs returned by the tool, so I can\\'t guess any IDs. \\n\\nFor each skill gap (FastAPI, PostgreSQL, Docker), I\\'ll call search_courses. Let\\'s start with FastAPI. The function requires a query parameter, which should be the skill name. So, I\\'ll use \"FastAPI\" as the query. Then do the same for PostgreSQL and Docker. \\n\\nAssuming the tool returns valid course IDs, the next step is to sequence them. Since is_fresher_adaptation_needed is False, we don\\'t need to add professional fundamentals first. The sequence_order should be 1, 2, 3, etc. Each course will be in a separate week. \\n\\nAfter sequencing, I need to create the Mermaid diagram. Each course will be in a subgraph for the respective week, labeled as W1, W2, W3. The start and end nodes will be marked with the appropriate classes. \\n\\nFinally, submit the final roadmap and the Mermaid visualization. The roadmap should include the candidate\\'s name, target role, and the sequenced courses with their details. The Mermaid code should correctly map the sequence and group the weeks.\\n\\nI need to make sure that each step is followed in order and that the tools are called correctly. Also, check that the JSON structures are properly formatted when submitting the final roadmap and visualization.\\n', 'tool_calls': [{'id': 'tk112hq0c', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z12xgzqbr', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}, {'id': 'z2ccjm3w2', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 456, 'prompt_tokens': 1559, 'total_tokens': 2015, 'completion_time': 0.929203584, 'completion_tokens_details': {'reasoning_tokens': 389}, 'prompt_time': 0.064193024, 'prompt_tokens_details': None, 'queue_time': 0.044726596, 'total_time': 0.993396608}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-aed2-77c0-a431-2f2f4ae627a9-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'tk112hq0c', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'z12xgzqbr', 'type': 'tool_call'}, {'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'z2ccjm3w2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1559, 'output_tokens': 456, 'total_tokens': 2015, 'output_token_details': {'reasoning': 389}}), ToolMessage(content=\"ID: CS-FAST-101\\nCourse Title: REST API Development with FastAPI\\nCategory: Backend\\nDescription: A project-driven course for building production-quality REST APIs with Python's FastAPI framework. Students learn to define typed routes with path and query parameters, leverage Pydantic models for automatic request validation and serialization, implement dependency injection, and secure endpoints using JWT-based Bearer token authentication.\\nLearning Outcomes: Create REST endpoints with path and query params, Validate request/response with Pydantic models, Implement JWT-based authentication\\n---\\nID: CS-FAST-201\\nCourse Title: Advanced API Design with FastAPI\\nCategory: Backend\\nDescription: An advanced course for engineers building high-performance, secure backend services with FastAPI. Students implement full OAuth2 authorization code and client credentials flows, build async database CRUD endpoints using SQLAlchemy 2.0 with asyncpg, design layered dependency injection architectures, create custom middleware for logging and rate limiting, and run Celery background task queues.\\nLearning Outcomes: Implement OAuth2 authentication flows, Build async database endpoints with SQLAlchemy, Use dependency injection and middleware patterns\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: OPS-K8S-101\\nCourse Title: Kubernetes for AI Workloads\\nCategory: MLOps\\nDescription: An introduction to K8s specifically for ML engineers. Covers pod orchestration, GPU resource allocation, and scaling FastAPI backends on clusters.\\nLearning Outcomes: Deploy ML models as K8s services, Configure GPU-enabled worker nodes, Manage cluster auto-scaling for inference bursts\\n---\", name='search_courses', id='81dc0c18-afd0-48cf-93e2-3f84aeb4697d', tool_call_id='tk112hq0c'), ToolMessage(content='ID: CS-DB-101\\nCourse Title: SQL Fundamentals for Backend Developers\\nCategory: Database\\nDescription: A hands-on introduction to relational database theory and practice using SQLite and PostgreSQL. Students learn to model data with schemas, enforce referential integrity through primary and foreign keys, and interact with data using full CRUD operations and multi-table JOINs.\\nLearning Outcomes: Write basic SELECT queries with filters, Understand Primary and Foreign Keys, Perform data insertion, updates, and deletions\\n---\\nID: CS-DB-201\\nCourse Title: Advanced SQL Ò€” Indexing, Transactions & Query Optimization\\nCategory: Database\\nDescription: A deep dive into production-grade SQL performance and reliability. Students master analytical window functions, Common Table Expressions (CTEs), query execution plan analysis using EXPLAIN/ANALYZE, B-tree and partial index strategies, and ACID-compliant transaction management including deadlock detection and prevention.\\nLearning Outcomes: Use window functions and CTEs, Analyze and optimize slow queries with EXPLAIN, Manage ACID transactions and deadlock prevention\\n---\\nID: BUS-SQL-201\\nCourse Title: SQL for Workforce Analytics\\nCategory: Data Science\\nDescription: Learn to query internal talent databases. Covers JOINs, aggregations, and subqueries to find hiring trends and predict churn.\\nLearning Outcomes: Write SQL queries to extract talent metrics, Analyze historical hiring data for trends, Build basic labor supply reports\\n---\\nID: CS-DB-301\\nCourse Title: NoSQL Databases Ò€” MongoDB & Redis\\nCategory: Database\\nDescription: Practical training in document and key-value store paradigms for modern applications. Covers MongoDB schema design, flexible document modeling, the aggregation pipeline for complex data transformations, and Redis as both a high-speed caching layer and a pub/sub message broker with TTL-based eviction strategies.\\nLearning Outcomes: Design document schemas in MongoDB, Build aggregation pipelines, Implement caching with Redis TTL strategies\\n---', name='search_courses', id='7d61cda6-fd9d-4f36-8b71-8df2e24b95fb', tool_call_id='z12xgzqbr'), ToolMessage(content='ID: CS-DOCKER-101\\nCourse Title: Docker & Containerization Fundamentals\\nCategory: DevOps\\nDescription: A practical guide to application containerization using Docker. Students learn to write optimized multi-stage Dockerfiles, manage images and container lifecycles, configure bridge and overlay networking, use named volumes for data persistence, and orchestrate multi-service applications with Docker Compose for local and staging environments.\\nLearning Outcomes: Write efficient multi-stage Dockerfiles, Manage container lifecycle and networking, Orchestrate multi-service apps with Docker Compose\\n---\\nID: CS-CICD-201\\nCourse Title: CI/CD Pipelines with GitHub Actions\\nCategory: DevOps\\nDescription: A hands-on course in automating the full software delivery lifecycle using GitHub Actions. Students define multi-job workflows with matrix builds, integrate linting and pytest test suites as required CI checks, automate Docker image builds and pushes to registries, and manage environment secrets and deployment approvals for staging and production environments.\\nLearning Outcomes: Create GitHub Actions workflows for CI/CD, Automate Docker image builds and pushes, Manage secrets and environment variables securely\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps Ò€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\n---\\nID: CS-K8S-301\\nCourse Title: Kubernetes Ò€” Container Orchestration at Scale\\nCategory: DevOps\\nDescription: A comprehensive course on running containerized workloads in production with Kubernetes. Students deploy stateless and stateful applications using Deployments and StatefulSets, expose services through ClusterIP, NodePort, and Ingress controllers, manage configuration and secrets with ConfigMaps and Secrets, autoscale workloads with HPA, and package applications for repeatable releases using Helm charts.\\nLearning Outcomes: Deploy applications using Deployments and StatefulSets, Configure Services, Ingress, and ConfigMaps, Manage releases with Helm charts\\n---', name='search_courses', id='eda8cd08-a93d-4b9e-8ed4-c2af30a4b4fc', tool_call_id='z2ccjm3w2'), AIMessage(content='', additional_kwargs={'reasoning_content': \"Okay, let's start by looking at the user's problem. They need to create a learning roadmap for Chirayu Jain, a Backend Developer candidate, based on the skill gaps identified. The gaps are in FastAPI, PostgreSQL, and Docker. The user has provided the search results for each of these skills, and now I need to sequence them into a logical order.\\n\\nFirst, I need to check if any foundational courses are required. The user mentioned that is_fresher_adaptation_needed is False, so we don't need to add any professional fundamentals first. That means we can start directly with the identified gaps.\\n\\nLooking at the FastAPI courses, there's CS-FAST-101 and CS-FAST-201. Since the target competency is to develop high-performance asynchronous APIs, the first course (CS-FAST-101) is the foundation. The advanced course (CS-FAST-201) would come after mastering the basics.\\n\\nFor PostgreSQL, the relevant courses are CS-DB-101 and CS-DB-201. The candidate has experience with MySQL and SQLite, so starting with CS-DB-101 makes sense to build a solid foundation in SQL fundamentals. Then, moving to CS-DB-201 for advanced topics like indexing and transactions.\\n\\nFor Docker, the course CS-DOCKER-101 is the fundamental one. The other Docker-related courses are either part of other tracks (like CS-CICD-201 for CI/CD) or part of MLOps, which isn't the focus here. So CS-DOCKER-101 is the right choice here.\\n\\nNow, sequencing these courses. The order should allow Chirayu to build skills progressively. Starting with FastAPI makes sense because it's a framework he's somewhat familiar with (Python and Flask), so transitioning to FastAPI would be logical. Then, moving to PostgreSQL to handle database management, followed by Docker for containerization. Each of these can be spread over weeks, maybe one course per week.\\n\\nI need to assign sequence_order numbers. Let's see:\\n\\n1. FastAPI Fundamentals (CS-FAST-101) - Week 1\\n2. PostgreSQL Fundamentals (CS-DB-101) - Week 2\\n3. Docker Fundamentals (CS-DOCKER-101) - Week 3\\n4. Advanced FastAPI (CS-FAST-201) - Week 4\\n5. Advanced PostgreSQL (CS-DB-201) - Week 5\\n\\nThis order ensures that foundational skills are built first before moving to advanced topics. Each course is a prerequisite for the next in their respective tracks. The Mermaid diagram should reflect this sequence with subgraphs for each week.\\n\\nI also need to make sure that the reasoning for each course choice is clear. For example, CS-FAST-101 is chosen because it covers the basics needed for developing APIs with FastAPI, which is a high-priority gap. Similarly, CS-DB-101 provides the necessary SQL fundamentals before moving to advanced PostgreSQL topics.\\n\\nFinally, compiling all this into the required JSON format for the final roadmap and the Mermaid visualization. Double-checking that all course IDs are from the search results and that the sequence makes logical sense for skill progression.\\n\", 'tool_calls': [{'id': 'mm78w2e88', 'function': {'arguments': '{\"candidate_name\":\"Chirayu Jain\",\"onboarding_summary\":\"4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.\",\"roadmap\":[{\"course_id\":\"CS-FAST-101\",\"is_foundation\":true,\"reasoning\":\"Foundational course to build FastAPI skills required for high-performance API development\",\"sequence_order\":1,\"title\":\"REST API Development with FastAPI\"},{\"course_id\":\"CS-DB-101\",\"is_foundation\":true,\"reasoning\":\"Establish PostgreSQL foundation before advanced database work\",\"sequence_order\":2,\"title\":\"SQL Fundamentals for Backend Developers\"},{\"course_id\":\"CS-DOCKER-101\",\"is_foundation\":true,\"reasoning\":\"Core containerization skills needed for consistent deployment\",\"sequence_order\":3,\"title\":\"Docker \\\\u0026 Containerization Fundamentals\"},{\"course_id\":\"CS-FAST-201\",\"is_foundation\":false,\"reasoning\":\"Build on FastAPI fundamentals with async database integration\",\"sequence_order\":4,\"title\":\"Advanced API Design with FastAPI\"},{\"course_id\":\"CS-DB-201\",\"is_foundation\":false,\"reasoning\":\"Deepen PostgreSQL expertise for production-grade database work\",\"sequence_order\":5,\"title\":\"Advanced SQL - Indexing, Transactions \\\\u0026 Query Optimization\"}],\"target_role\":\"Backend Developer\"}', 'name': 'submit_final_roadmap'}, 'type': 'function'}, {'id': 'h9phazqpb', 'function': {'arguments': '{\"mermaid_code\":\"flowchart TD\\\\n A([Start]):::start\\\\n subgraph W1[\\\\\"Week 1\\\\\"]\\\\n B[CS-FAST-101]:::gap\\\\n end\\\\n subgraph W2[\\\\\"Week 2\\\\\"]\\\\n C[CS-DB-101]:::gap\\\\n end\\\\n subgraph W3[\\\\\"Week 3\\\\\"]\\\\n D[CS-DOCKER-101]:::gap\\\\n end\\\\n subgraph W4[\\\\\"Week 4\\\\\"]\\\\n E[CS-FAST-201]:::gap\\\\n end\\\\n subgraph W5[\\\\\"Week 5\\\\\"]\\\\n F[CS-DB-201]:::gap\\\\n end\\\\n Z([Ready]):::done\\\\n A --\\\\u003e B --\\\\u003e C --\\\\u003e D --\\\\u003e E --\\\\u003e F --\\\\u003e Z\\\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\\\n classDef start fill:#1D9E75,stroke:#0F6E56\\\\n classDef done fill:#534AB7,stroke:#3C3489\"}', 'name': 'submit_mermaid_visualization'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 1350, 'prompt_tokens': 3008, 'total_tokens': 4358, 'completion_time': 2.38863248, 'completion_tokens_details': {'reasoning_tokens': 685}, 'prompt_time': 0.136514084, 'prompt_tokens_details': None, 'queue_time': 0.044030126, 'total_time': 2.525146564}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-be3d-7de2-9310-9fbcc34ce8b8-0', tool_calls=[{'name': 'submit_final_roadmap', 'args': {'candidate_name': 'Chirayu Jain', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'is_foundation': True, 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'sequence_order': 1, 'title': 'REST API Development with FastAPI'}, {'course_id': 'CS-DB-101', 'is_foundation': True, 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'sequence_order': 2, 'title': 'SQL Fundamentals for Backend Developers'}, {'course_id': 'CS-DOCKER-101', 'is_foundation': True, 'reasoning': 'Core containerization skills needed for consistent deployment', 'sequence_order': 3, 'title': 'Docker & Containerization Fundamentals'}, {'course_id': 'CS-FAST-201', 'is_foundation': False, 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'sequence_order': 4, 'title': 'Advanced API Design with FastAPI'}, {'course_id': 'CS-DB-201', 'is_foundation': False, 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'sequence_order': 5, 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization'}], 'target_role': 'Backend Developer'}, 'id': 'mm78w2e88', 'type': 'tool_call'}, {'name': 'submit_mermaid_visualization', 'args': {'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489'}, 'id': 'h9phazqpb', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 3008, 'output_tokens': 1350, 'total_tokens': 4358, 'output_token_details': {'reasoning': 685}}), ToolMessage(content='SUCCESS: Final roadmap has been submitted and saved to state.', name='submit_final_roadmap', id='195a42f9-9bf9-4df4-a864-93dd6c497b98', tool_call_id='mm78w2e88'), ToolMessage(content='SUCCESS: Mermaid visualization saved successfully.', name='submit_mermaid_visualization', id='e54942a8-a7e4-4ba2-adae-0df4d2fd46bd', tool_call_id='h9phazqpb'), AIMessage(content='βœ… **Onboarding Roadmap Finalized for Chirayu Jain** \\n**Target Role:** Backend Developer \\n**Duration:** 5 Weeks \\n\\n### πŸ“Œ Key Components \\n1. **Week 1:** FastAPI Fundamentals (CS-FAST-101) \\n2. **Week 2:** PostgreSQL Foundations (CS-DB-101) \\n3. **Week 3:** Docker Core Skills (CS-DOCKER-101) \\n4. **Week 4:** Advanced FastAPI (CS-FAST-201) \\n5. **Week 5:** PostgreSQL Optimization (CS-DB-201) \\n\\n### πŸ“š Course Rationale \\n- **CS-FAST-101** establishes core API development patterns required for CodeForge’s backend stack. \\n- **CS-DB-101** builds foundational PostgreSQL proficiency before advanced optimization. \\n- **CS-DOCKER-101** ensures containerization skills for deployment consistency. \\n- Advanced courses (CS-FAST-201, CS-DB-201) deepen expertise in async workflows and database performance. \\n\\n### πŸ“Š Visual Roadmap \\nA Mermaid flowchart has been generated to visualize the sequence. \\n\\nLet me know if you need adjustments to the timeline or course selections!', additional_kwargs={'reasoning_content': \"Okay, let's break down what needs to be done here. The user provided a skill gap analysis for Chirayu Jain, who is a Backend Developer. The gaps identified are in FastAPI, PostgreSQL, and Docker. The task is to create a learning roadmap based on these gaps.\\n\\nFirst, I need to check if there are any courses available for each of these skills. The user has already called the search_courses function for each skill and received responses. Now, I need to select the most appropriate courses from the search results.\\n\\nFor FastAPI, the courses CS-FAST-101 and CS-FAST-201 are available. Since the candidate has Python and Flask experience but no FastAPI, starting with the foundational course CS-FAST-101 makes sense. The advanced course can come later once the basics are covered.\\n\\nFor PostgreSQL, the candidate has experience with MySQL and SQLite, so the SQL Fundamentals course (CS-DB-101) would be a good starting point to transition to PostgreSQL. Then, moving to the advanced SQL course (CS-DB-201) would build on that foundation.\\n\\nDocker is entirely new, so the fundamentals course (CS-DOCKER-101) is essential to get started with containerization. The other Docker-related courses are either part of other tracks (like MLOps) or more advanced, so they might not be necessary here.\\n\\nNext, sequencing the courses. Since there's no mention of fresher adaptation needed, the sequence can start directly with the foundational courses. The order should be FastAPI first, then PostgreSQL, followed by Docker. After the foundations, the advanced courses can follow.\\n\\nThe roadmap should be structured over weeks, with each course taking a week. The summary should highlight the 4-5 week plan focusing on the critical skills. The Mermaid diagram needs to reflect this sequence with weeks as subgraphs.\\n\\nFinally, ensure that all the correct course IDs are used and that the reasoning for each course selection is clear. Also, check that the Mermaid code correctly maps the sequence and formatting.\\n\"}, response_metadata={'token_usage': {'completion_tokens': 703, 'prompt_tokens': 3715, 'total_tokens': 4418, 'completion_time': 1.556481651, 'completion_tokens_details': {'reasoning_tokens': 426}, 'prompt_time': 0.180619391, 'prompt_tokens_details': None, 'queue_time': 0.045325729, 'total_time': 1.737101042}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'stop', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7606-c878-7740-b9e7-2776e494fe50-0', tool_calls=[], invalid_tool_calls=[], usage_metadata={'input_tokens': 3715, 'output_tokens': 703, 'total_tokens': 4418, 'output_token_details': {'reasoning': 426}})], 'skill_gap_analysis_data': SkillGapAnalysis(job_title='Backend Developer', candidate_name='Chirayu Jain', analyzed_gaps=[SkillGap(skill_name='FastAPI', gap_type='missing_foundation', priority='high', reasoning=\"JD requires FastAPI; candidate's resume shows Python and Flask experience but no record of using FastAPI framework.\", target_competency='Develop high-performance asynchronous APIs using FastAPI'), SkillGap(skill_name='PostgreSQL', gap_type='missing_foundation', priority='high', reasoning='JD requires PostgreSQL; candidate has worked with MySQL and SQLite but has no experience with PostgreSQL specifically.', target_competency='Design and manage relational databases with PostgreSQL'), SkillGap(skill_name='Docker', gap_type='missing_foundation', priority='high', reasoning=\"JD lists Docker as a required technology; candidate's profile contains no Docker usage or containerization experience.\", target_competency='Containerize applications using Docker for consistent deployment')], is_fresher_adaptation_needed=False, executive_summary='Chirayu has solid Python backend experience with Flask and Django, and familiarity with SQL databases like MySQL and SQLite. However, critical backend stack components required by CodeForgeβ€”FastAPI, PostgreSQL, and Dockerβ€”are absent, indicating immediate focus areas for onboarding.'), 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category=None), Skill(name='Java', category=None), Skill(name='Python', category=None), Skill(name='JavaScript', category=None), Skill(name='Dart', category=None), Skill(name='Flutter', category=None), Skill(name='HTML/CSS', category=None), Skill(name='ReactJS', category=None), Skill(name='Firebase', category=None), Skill(name='REST APIs', category=None), Skill(name='Flask', category=None), Skill(name='Django', category=None), Skill(name='NodeJS', category=None), Skill(name='ExpressJS', category=None), Skill(name='MySQL', category=None), Skill(name='MongoDB', category=None), Skill(name='SQLite', category=None)], experience=[ExperienceItem(job_title='Technology Intern', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction', 'Cron-based background workers'], responsibilities=['Built Flask API for RTA investor verification team, implementing 2 confidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and extract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.', 'Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR, semantic chunking, and LLM-based extraction to process 60+ page financial documents and identify investor/investee details, reducing extraction time by 35%.', 'Implementing Cron-based background workers to generate automated weekly email analytics reports tracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing overall document processing latency by 40%.']), ExperienceItem(job_title='Software Development intern', technologies=['Flutter', 'MVVM', 'SOLID', 'modular design'], responsibilities=['Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management and Applied clean code practices (SOLID, modular design) for scalability.', 'Implemented secure user authentication and role-based access, ensuring smooth login and data protection.', 'Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False), 'extraction_error': None, 'JobDescriptionExtract_data': JobDescriptionExtract(job_title='Backend Developer', company_name='CodeForge', skills_required=[SkillRequirement(name='Python', level=None), SkillRequirement(name='FastAPI', level=None), SkillRequirement(name='Django', level=None), SkillRequirement(name='SQL', level=None), SkillRequirement(name='PostgreSQL', level=None), SkillRequirement(name='Docker', level=None)], responsibilities=[ResponsibilityItem(description='Develop REST APIs using FastAPI'), ResponsibilityItem(description='Design and manage PostgreSQL databases'), ResponsibilityItem(description='Implement authentication and authorization systems'), ResponsibilityItem(description='Optimize performance and scalability')], requirements=[RequirementItem(description='Strong knowledge of Python'), RequirementItem(description='Experience with FastAPI or Django'), RequirementItem(description='Good understanding of SQL and database design'), RequirementItem(description='Familiarity with Docker')]), 'mermaid_code': 'flowchart TD\\n A([Start]):::start\\n subgraph W1[\"Week 1\"]\\n B[CS-FAST-101]:::gap\\n end\\n subgraph W2[\"Week 2\"]\\n C[CS-DB-101]:::gap\\n end\\n subgraph W3[\"Week 3\"]\\n D[CS-DOCKER-101]:::gap\\n end\\n subgraph W4[\"Week 4\"]\\n E[CS-FAST-201]:::gap\\n end\\n subgraph W5[\"Week 5\"]\\n F[CS-DB-201]:::gap\\n end\\n Z([Ready]):::done\\n A --> B --> C --> D --> E --> F --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7\\n classDef known fill:#E1F5EE,stroke:#0F6E56\\n classDef start fill:#1D9E75,stroke:#0F6E56\\n classDef done fill:#534AB7,stroke:#3C3489', 'final_roadmap': {'candidate_name': 'Chirayu Jain', 'target_role': 'Backend Developer', 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.', 'roadmap': [{'course_id': 'CS-FAST-101', 'title': 'REST API Development with FastAPI', 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development', 'is_foundation': True, 'sequence_order': 1}, {'course_id': 'CS-DB-101', 'title': 'SQL Fundamentals for Backend Developers', 'reasoning': 'Establish PostgreSQL foundation before advanced database work', 'is_foundation': True, 'sequence_order': 2}, {'course_id': 'CS-DOCKER-101', 'title': 'Docker & Containerization Fundamentals', 'reasoning': 'Core containerization skills needed for consistent deployment', 'is_foundation': True, 'sequence_order': 3}, {'course_id': 'CS-FAST-201', 'title': 'Advanced API Design with FastAPI', 'reasoning': 'Build on FastAPI fundamentals with async database integration', 'is_foundation': False, 'sequence_order': 4}, {'course_id': 'CS-DB-201', 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization', 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work', 'is_foundation': False, 'sequence_order': 5}]}}\n" - ] - } - ], - "source": [ - "config = {\"configurable\": {\"thread_id\": THREAD_ID}}\n", - "\n", - "# Change THREAD_ID to config\n", - "final_result = graph.invoke(initial_input, config=config)\n" - ] - }, - { - "cell_type": "code", - "execution_count": 81, - "id": "d536c172", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "dict_keys(['candidate_name', 'resume_text', 'file_path', 'job_description', 'messages', 'skill_gap_analysis_data', 'resume_data', 'extraction_error', 'JobDescriptionExtract_data', 'mermaid_code', 'final_roadmap'])" - ] - }, - "execution_count": 81, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "final_result.keys()" - ] - }, - { - "cell_type": "code", - "execution_count": 83, - "id": "e1441f1f", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'candidate_name': 'Chirayu Jain',\n", - " 'target_role': 'Backend Developer',\n", - " 'onboarding_summary': '4-week intensive track covering FastAPI, PostgreSQL, and Docker. Weeks 1-3 focus on foundational skills, followed by advanced implementation in Weeks 4-5. Completes critical backend stack requirements for CodeForge.',\n", - " 'roadmap': [{'course_id': 'CS-FAST-101',\n", - " 'title': 'REST API Development with FastAPI',\n", - " 'reasoning': 'Foundational course to build FastAPI skills required for high-performance API development',\n", - " 'is_foundation': True,\n", - " 'sequence_order': 1},\n", - " {'course_id': 'CS-DB-101',\n", - " 'title': 'SQL Fundamentals for Backend Developers',\n", - " 'reasoning': 'Establish PostgreSQL foundation before advanced database work',\n", - " 'is_foundation': True,\n", - " 'sequence_order': 2},\n", - " {'course_id': 'CS-DOCKER-101',\n", - " 'title': 'Docker & Containerization Fundamentals',\n", - " 'reasoning': 'Core containerization skills needed for consistent deployment',\n", - " 'is_foundation': True,\n", - " 'sequence_order': 3},\n", - " {'course_id': 'CS-FAST-201',\n", - " 'title': 'Advanced API Design with FastAPI',\n", - " 'reasoning': 'Build on FastAPI fundamentals with async database integration',\n", - " 'is_foundation': False,\n", - " 'sequence_order': 4},\n", - " {'course_id': 'CS-DB-201',\n", - " 'title': 'Advanced SQL - Indexing, Transactions & Query Optimization',\n", - " 'reasoning': 'Deepen PostgreSQL expertise for production-grade database work',\n", - " 'is_foundation': False,\n", - " 'sequence_order': 5}]}" - ] - }, - "execution_count": 83, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "final_result['final_roadmap']" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "eadcbe43", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 155, - "id": "4e502949", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'candidate_name': 'Chirayu Jain',\n", - " 'resume_text': 'Chirayu Jain\\nSOFTWARE DEVELOPER\\n+91-9462128878 | chirayujain93@gmail.com | LinkedIn | GitHub | CodeChef | Leetcode\\nEDUCATION\\nIndian Institute of Information Technology, Kota (CGPA-8.1)\\nKota, Rajasthan\\nB.Tech in Electronics and Communication Engineering\\n2022 - Present\\nWORK EXPERIENCE\\nNAV India\\nJan 2026 - Present\\nTechnology Intern\\nOnsite – Jaipur, Rajasthan\\nβ€’ As part of the AI/ML team, built Flask API for the RTA investor verification team, implementing 2\\nconfidence-scoring pipelines using OCR extraction (PyMuPDF, Docling) to parse PDF/forms and\\nextract 3 key KYC investor attributes, reducing verification time from 20–30 minutes to 2–3 minutes.\\nβ€’ Developed a scalable document intelligence pipeline with parallel CPU processing using Docling OCR,\\nsemantic chunking, and LLM-based extraction to process 60+ page financial documents and identify\\ninvestor/investee details, reducing extraction time by 35%.\\nβ€’ Implementing Cron-based background workers to generate automated weekly email analytics reports\\ntracking API accuracy and confidence match-mismatch scores, improving scoring precision and reducing\\noverall document processing latency by 40%.\\nVestbox\\nApril 2025 - May 2025\\nSoftware Development intern\\nRemote\\nβ€’ Developed Groceazy app in Flutter (MVVM), integrating 10+ modules for grocery service , order management\\nand Applied clean code practices (SOLID, modular design) for scalability.\\nβ€’ Implemented secure user authentication and role-based access, ensuring smooth login and data protection.\\nβ€’ Built image-to-item price matcher using APIs across 5+ platforms, enabling best-price suggestions.\\nPROJECTS\\nHostel Bites – IIITK Canteen App | Flutter, Dart, Firebase, Cloud Firestore, Mapbox API\\nβ€’ Developed a Flutter app for hostel residents to order food, increasing canteen efficiency by 35%.\\nβ€’ Implemented role-based access for students, staff, and admin, increasing operational efficiency by 40%.\\nβ€’ Integrated Firebase Auth, Firestore, Storage, and Mapbox API for secure logins, and live order tracking.\\nβ€’ GitHub: Live link\\nJobShield - Fake Job Detector | Flutter, Dart, Python, Flask, SQLite\\nβ€’ Developed a Flask+Python fake job detection API with a custom NLP model, with 95% classification accuracy.\\nβ€’ Built a responsive web interface using Flutter (Web), integrated with the backend, enabling seamless real-time\\ndetection for 500+ job postings.\\nβ€’ Github: Live Link\\nTECHNICAL SKILLS\\nLanguages: C/C++ , Java , Python , JavaScript, Dart\\nFrontend: Flutter, HTML/CSS, ReactJS\\nBackend: Firebase, REST APIs, Flask, Django, NodeJS, ExpressJS\\nDatabase Management: MySQL, MongoDB, SQLite\\nTools and Frameworks: GitHub, Android Studio, Visual Studio Code, MATLAB, Cursor, Github Copilot\\nLibraries: Provider, Bloc, Scikit-learn, tensorflow\\nACHIEVEMENTS & CERTIFICATIONS\\nβ€’ Ranked 81 in Inter IIIT Coding Contest Optigo, competing against top-tier programmers - View credential.\\nβ€’ Obtained Certification in Graph Algorithms from AlgoUniversity - View credential.\\nβ€’ Achieved a 4-star CodeChef rating and earned the Knight(Max. 1888) badge on LeetCode.\\nβ€’ Developed an e-waste facility locator application for SIH’23, successfully advancing to the regionals.',\n", - " 'file_path': 'C:\\\\Users\\\\ATHARVA\\\\Downloads\\\\my codes\\\\web\\\\AdaptiveEngineService\\\\AI_Engine_Evaluation\\\\Testcases\\\\Testresume\\\\ChirayuResume.pdf',\n", - " 'job_description': 'Job Title: Backend Developer\\n\\nCompany name: CodeForge\\nWe are hiring a Backend Developer to build scalable APIs and backend systems.\\n\\nResponsibilities:\\n- Develop REST APIs using FastAPI\\n- Design and manage PostgreSQL databases\\n- Implement authentication and authorization systems\\n- Optimize performance and scalability\\n\\nRequirements:\\n- Strong knowledge of Python\\n- Experience with FastAPI or Django\\n- Good understanding of SQL and database design\\n- Familiarity with Docker\\n\\nConstraints:\\n- Location: Pune only\\n- Full-time role ',\n", - " 'messages': [HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"\",\\n \"candidate_name\": null,\\n \"analyzed_gaps\": [],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"No job description provided; unable to assess skill gaps.\"\\n}\\n\\n Please proceed to search for courses and build the learning roadmap now.\\n ', additional_kwargs={}, response_metadata={}, id='1358e145-f0ff-48d5-976b-b46273380e64'),\n", - " AIMessage(content='The provided skill gap analysis lacks both a job description and any identified skill gaps, making it impossible to generate a targeted learning roadmap. Per the executive summary, no gaps were assessed due to missing input data.\\n\\nTo proceed, please provide:\\n1. A valid job description or target role specifications\\n2. A properly populated skill gap analysis with specific technical requirements\\n\\nOnly then can I execute the required workflow steps (search_courses β†’ resolve prerequisites β†’ sequence β†’ submit).', additional_kwargs={'reasoning_content': \"Okay, let's see. The user provided a Skill Gap Analysis for Chirayu Jain, but it looks like there's no job title or candidate name, and the analyzed gaps are empty. The executive summary says no job description was provided, so they couldn't assess the gaps. \\n\\nHmm, the user wants me to proceed to search for courses and build a learning roadmap. But wait, according to the strict workflow, I need to start with STEP 1 β€” SEARCH for every gap. But there are no gaps identified here. That's a problem. Without knowing the specific skill gaps, how can I search for relevant courses?\\n\\nMaybe the user made a mistake in the input. The Skill Gap Analysis didn't have any gaps, so there's nothing to build a roadmap from. The tools I have require me to call search_courses for each gap, but there are no gaps here. So I can't proceed with the workflow as instructed. \\n\\nI should inform the user that the Skill Gap Analysis is incomplete or missing necessary information. Without knowing the specific skills Chirayu needs to learn, I can't generate a roadmap. The executive summary mentions that no job description was provided, which is probably why the gaps aren't identified. \\n\\nTherefore, the correct step here is to ask the user to provide a job description or more details about the target role so that the Skill Gap Analysis can be properly conducted. Once the gaps are identified, then I can proceed with the workflow steps as outlined. Until then, there's nothing to act on.\\n\"}, response_metadata={'token_usage': {'completion_tokens': 407, 'prompt_tokens': 1153, 'total_tokens': 1560, 'completion_time': 0.951808963, 'completion_tokens_details': {'reasoning_tokens': 311}, 'prompt_time': 0.051115782, 'prompt_tokens_details': None, 'queue_time': 0.045027329, 'total_time': 1.002924745}, 'model_name': 'qwen/qwen3-32b', 'system_fingerprint': 'fp_5cf921caa2', 'service_tier': 'on_demand', 'finish_reason': 'stop', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d7464-c89b-7213-8504-2fc1fa58e450-0', tool_calls=[], invalid_tool_calls=[], usage_metadata={'input_tokens': 1153, 'output_tokens': 407, 'total_tokens': 1560, 'output_token_details': {'reasoning': 311}})],\n", - " 'skill_gap_analysis_data': SkillGapAnalysis(job_title='', candidate_name=None, analyzed_gaps=[], is_fresher_adaptation_needed=False, executive_summary='No job description provided; unable to assess skill gaps.'),\n", - " 'resume_data': ResumeExtract(candidate_name='Chirayu Jain', job_title='SOFTWARE DEVELOPER', skills=[Skill(name='C/C++', category='Languages'), Skill(name='Java', category='Languages'), Skill(name='Python', category='Languages'), Skill(name='JavaScript', category='Languages'), Skill(name='Dart', category='Languages'), Skill(name='Flutter', category='Frontend'), Skill(name='HTML/CSS', category='Frontend'), Skill(name='ReactJS', category='Frontend'), Skill(name='Firebase', category='Backend'), Skill(name='REST APIs', category='Backend'), Skill(name='Flask', category='Backend'), Skill(name='Django', category='Backend'), Skill(name='NodeJS', category='Backend'), Skill(name='ExpressJS', category='Backend'), Skill(name='MySQL', category='Database Management'), Skill(name='MongoDB', category='Database Management'), Skill(name='SQLite', category='Database Management')], experience=[ExperienceItem(job_title='Technology Intern', experience_type='internship', technologies=['Flask', 'PyMuPDF', 'Docling', 'OCR extraction'], responsibilities=['Built Flask API for RTA investor verification team', 'Developed scalable document intelligence pipeline', 'Implemented Cron-based background workers']), ExperienceItem(job_title='Software Development intern', experience_type='internship', technologies=['Flutter', 'MVVM', 'Firebase'], responsibilities=['Developed Groceazy app in Flutter', 'Implemented secure user authentication', 'Built image-to-item price matcher'])], projects=[ProjectItem(name='Hostel Bites – IIITK Canteen App', technologies=['Flutter', 'Dart', 'Firebase', 'Cloud Firestore', 'Mapbox API']), ProjectItem(name='JobShield - Fake Job Detector', technologies=['Flutter', 'Dart', 'Python', 'Flask', 'SQLite'])], is_fresher=False),\n", - " 'extraction_error': None,\n", - " 'JobDescriptionExtract_data': JobDescriptionExtract(job_title=None, company_name=None, location=None, employment_type=None, duration_months=None, is_fresher_allowed=None, skills_required=None, tools_technologies=None, responsibilities=None, requirements=None),\n", - " 'mermaid_code': None,\n", - " 'final_roadmap': None}" - ] - }, - "execution_count": 155, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "final_result" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "53ba21aa", - "metadata": {}, - "outputs": [], - "source": [ - "///break" - ] - }, - { - "cell_type": "code", - "execution_count": 74, - "id": "5afbce5b", - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "[HumanMessage(content='\\n Skill Gap Analysis Completed for Chirayu Jain.\\n\\n Gaps Identified:\\n {\\n \"job_title\": \"Backend Developer\",\\n \"candidate_name\": \"Chirayu Jain\",\\n \"analyzed_gaps\": [\\n {\\n \"skill_name\": \"FastAPI\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD explicitly lists FastAPI; resume shows Flask/Django but no exposure to FastAPI, creating a core framework gap.\",\\n \"target_competency\": \"Build async REST endpoints with FastAPI, Pydantic models and dependency injection\"\\n },\\n {\\n \"skill_name\": \"PostgreSQL\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"JD requires PostgreSQL; candidate only lists MySQL, SQLite and MongoDB, so no evidence of PostgreSQL-specific features or deployment experience.\",\\n \"target_competency\": \"Design relational schemas, write optimized queries and manage transactions in PostgreSQL\"\\n },\\n {\\n \"skill_name\": \"Docker\",\\n \"gap_type\": \"missing_foundation\",\\n \"priority\": \"high\",\\n \"reasoning\": \"Docker appears in JD but is absent from skills, experience and projects, indicating no containerization background.\",\\n \"target_competency\": \"Containerize FastAPI services, write Dockerfiles and orchestrate multi-container dev environments\"\\n }\\n ],\\n \"is_fresher_adaptation_needed\": false,\\n \"executive_summary\": \"Chirayu is a near-ready backend candidate with solid Python, Django and SQL experience, but must quickly add FastAPI, PostgreSQL and Docker to meet CodeForge’s stack requirements.\"\\n}\\n\\n Please proceed to search for courses and build the learning roadmap now.\\n ', additional_kwargs={}, response_metadata={}, id='61350c0a-f333-4b0b-bce8-b002d5c13832'),\n", - " AIMessage(content='', additional_kwargs={'reasoning_content': \"We need to follow workflow.\\n\\nStep 1: For each gap skill, call search_courses with query.\\n\\nWe have three gaps: FastAPI, PostgreSQL, Docker.\\n\\nWe need to get course IDs.\\n\\nLet's call search_courses for FastAPI.\", 'tool_calls': [{'id': 'fc_6c1f8c83-94ad-438c-8ff4-772fc7e3a5a2', 'function': {'arguments': '{\"query\":\"FastAPI\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 78, 'prompt_tokens': 1285, 'total_tokens': 1363, 'completion_time': 0.167971032, 'completion_tokens_details': {'reasoning_tokens': 50}, 'prompt_time': 0.061565999, 'prompt_tokens_details': None, 'queue_time': 0.04593067, 'total_time': 0.229537031}, 'model_name': 'openai/gpt-oss-120b', 'system_fingerprint': 'fp_a09bde29de', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d206b-c546-75f2-9bee-3a75dc5dc28a-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'FastAPI'}, 'id': 'fc_6c1f8c83-94ad-438c-8ff4-772fc7e3a5a2', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1285, 'output_tokens': 78, 'total_tokens': 1363, 'output_token_details': {'reasoning': 50}}),\n", - " ToolMessage(content=\"ID: CS-FAST-101\\nCourse Title: REST API Development with FastAPI\\nCategory: Backend\\nDescription: A project-driven course for building production-quality REST APIs with Python's FastAPI framework. Students learn to define typed routes with path and query parameters, leverage Pydantic models for automatic request validation and serialization, implement dependency injection, and secure endpoints using JWT-based Bearer token authentication.\\nLearning Outcomes: Create REST endpoints with path and query params, Validate request/response with Pydantic models, Implement JWT-based authentication\\nPrerequisites: CS-PY-101\\n---\\nID: CS-FAST-201\\nCourse Title: Advanced API Design with FastAPI\\nCategory: Backend\\nDescription: An advanced course for engineers building high-performance, secure backend services with FastAPI. Students implement full OAuth2 authorization code and client credentials flows, build async database CRUD endpoints using SQLAlchemy 2.0 with asyncpg, design layered dependency injection architectures, create custom middleware for logging and rate limiting, and run Celery background task queues.\\nLearning Outcomes: Implement OAuth2 authentication flows, Build async database endpoints with SQLAlchemy, Use dependency injection and middleware patterns\\nPrerequisites: CS-PY-101, CS-DB-101, CS-FAST-101\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps β€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\nPrerequisites: CS-ML-101, CS-DOCKER-101, CS-FAST-101\\n---\\nID: OPS-K8S-101\\nCourse Title: Kubernetes for AI Workloads\\nCategory: MLOps\\nDescription: An introduction to K8s specifically for ML engineers. Covers pod orchestration, GPU resource allocation, and scaling FastAPI backends on clusters.\\nLearning Outcomes: Deploy ML models as K8s services, Configure GPU-enabled worker nodes, Manage cluster auto-scaling for inference bursts\\nPrerequisites: None\\n---\", name='search_courses', id='be522420-9402-497c-b37a-55f859017f39', tool_call_id='fc_6c1f8c83-94ad-438c-8ff4-772fc7e3a5a2'),\n", - " AIMessage(content='', additional_kwargs={'reasoning_content': 'We have FastAPI courses. Need also PostgreSQL and Docker courses. Search for PostgreSQL.', 'tool_calls': [{'id': 'fc_cfcddbeb-b919-4f79-98e2-2000cdf9c354', 'function': {'arguments': '{\"query\":\"PostgreSQL\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 45, 'prompt_tokens': 1809, 'total_tokens': 1854, 'completion_time': 0.09460185, 'completion_tokens_details': {'reasoning_tokens': 20}, 'prompt_time': 0.614039222, 'prompt_tokens_details': {'cached_tokens': 768}, 'queue_time': 0.045160052, 'total_time': 0.708641072}, 'model_name': 'openai/gpt-oss-120b', 'system_fingerprint': 'fp_626f3fc5e0', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d206b-dc84-7312-8d72-172aa51c0a1b-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'PostgreSQL'}, 'id': 'fc_cfcddbeb-b919-4f79-98e2-2000cdf9c354', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 1809, 'output_tokens': 45, 'total_tokens': 1854, 'input_token_details': {'cache_read': 768}, 'output_token_details': {'reasoning': 20}}),\n", - " ToolMessage(content='ID: CS-DB-101\\nCourse Title: SQL Fundamentals for Backend Developers\\nCategory: Database\\nDescription: A hands-on introduction to relational database theory and practice using SQLite and PostgreSQL. Students learn to model data with schemas, enforce referential integrity through primary and foreign keys, and interact with data using full CRUD operations and multi-table JOINs.\\nLearning Outcomes: Write basic SELECT queries with filters, Understand Primary and Foreign Keys, Perform data insertion, updates, and deletions\\nPrerequisites: None\\n---\\nID: CS-DB-201\\nCourse Title: Advanced SQL β€” Indexing, Transactions & Query Optimization\\nCategory: Database\\nDescription: A deep dive into production-grade SQL performance and reliability. Students master analytical window functions, Common Table Expressions (CTEs), query execution plan analysis using EXPLAIN/ANALYZE, B-tree and partial index strategies, and ACID-compliant transaction management including deadlock detection and prevention.\\nLearning Outcomes: Use window functions and CTEs, Analyze and optimize slow queries with EXPLAIN, Manage ACID transactions and deadlock prevention\\nPrerequisites: CS-DB-101\\n---\\nID: BUS-SQL-201\\nCourse Title: SQL for Workforce Analytics\\nCategory: Data Science\\nDescription: Learn to query internal talent databases. Covers JOINs, aggregations, and subqueries to find hiring trends and predict churn.\\nLearning Outcomes: Write SQL queries to extract talent metrics, Analyze historical hiring data for trends, Build basic labor supply reports\\nPrerequisites: BUS-DATA-101\\n---\\nID: CS-DB-301\\nCourse Title: NoSQL Databases β€” MongoDB & Redis\\nCategory: Database\\nDescription: Practical training in document and key-value store paradigms for modern applications. Covers MongoDB schema design, flexible document modeling, the aggregation pipeline for complex data transformations, and Redis as both a high-speed caching layer and a pub/sub message broker with TTL-based eviction strategies.\\nLearning Outcomes: Design document schemas in MongoDB, Build aggregation pipelines, Implement caching with Redis TTL strategies\\nPrerequisites: CS-DB-101\\n---', name='search_courses', id='5f602c21-b2c8-4611-9f68-1e4f127958cb', tool_call_id='fc_cfcddbeb-b919-4f79-98e2-2000cdf9c354'),\n", - " AIMessage(content='', additional_kwargs={'reasoning_content': 'We have three gaps: FastAPI, PostgreSQL, Docker.\\n\\nWe need to search for Docker courses.', 'tool_calls': [{'id': 'fc_68440688-509a-4a4d-ae5f-b46d16b4a8fc', 'function': {'arguments': '{\"query\":\"Docker\"}', 'name': 'search_courses'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 45, 'prompt_tokens': 2260, 'total_tokens': 2305, 'completion_time': 0.095418158, 'completion_tokens_details': {'reasoning_tokens': 22}, 'prompt_time': 0.28257033, 'prompt_tokens_details': {'cached_tokens': 1280}, 'queue_time': 0.045485127, 'total_time': 0.377988488}, 'model_name': 'openai/gpt-oss-120b', 'system_fingerprint': 'fp_a09bde29de', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d206b-e355-7100-8e37-9e09f7cf0a97-0', tool_calls=[{'name': 'search_courses', 'args': {'query': 'Docker'}, 'id': 'fc_68440688-509a-4a4d-ae5f-b46d16b4a8fc', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 2260, 'output_tokens': 45, 'total_tokens': 2305, 'input_token_details': {'cache_read': 1280}, 'output_token_details': {'reasoning': 22}}),\n", - " ToolMessage(content='ID: CS-DOCKER-101\\nCourse Title: Docker & Containerization Fundamentals\\nCategory: DevOps\\nDescription: A practical guide to application containerization using Docker. Students learn to write optimized multi-stage Dockerfiles, manage images and container lifecycles, configure bridge and overlay networking, use named volumes for data persistence, and orchestrate multi-service applications with Docker Compose for local and staging environments.\\nLearning Outcomes: Write efficient multi-stage Dockerfiles, Manage container lifecycle and networking, Orchestrate multi-service apps with Docker Compose\\nPrerequisites: None\\n---\\nID: CS-CICD-201\\nCourse Title: CI/CD Pipelines with GitHub Actions\\nCategory: DevOps\\nDescription: A hands-on course in automating the full software delivery lifecycle using GitHub Actions. Students define multi-job workflows with matrix builds, integrate linting and pytest test suites as required CI checks, automate Docker image builds and pushes to registries, and manage environment secrets and deployment approvals for staging and production environments.\\nLearning Outcomes: Create GitHub Actions workflows for CI/CD, Automate Docker image builds and pushes, Manage secrets and environment variables securely\\nPrerequisites: CS-DOCKER-101\\n---\\nID: CS-MLOPS-301\\nCourse Title: MLOps β€” Model Deployment & Monitoring\\nCategory: AI Engineering\\nDescription: An end-to-end MLOps course covering the full lifecycle of production machine learning systems. Students track experiments and version datasets and models using MLflow, build model serving APIs with FastAPI, containerize inference services with Docker, set up automated retraining pipelines triggered by data drift detection using Evidently AI, and monitor prediction quality and infrastructure health with Grafana dashboards.\\nLearning Outcomes: Track experiments and version models with MLflow, Serve ML models via FastAPI and Docker, Monitor model drift and set up retraining triggers\\nPrerequisites: CS-ML-101, CS-DOCKER-101, CS-FAST-101\\n---\\nID: CS-K8S-301\\nCourse Title: Kubernetes β€” Container Orchestration at Scale\\nCategory: DevOps\\nDescription: A comprehensive course on running containerized workloads in production with Kubernetes. Students deploy stateless and stateful applications using Deployments and StatefulSets, expose services through ClusterIP, NodePort, and Ingress controllers, manage configuration and secrets with ConfigMaps and Secrets, autoscale workloads with HPA, and package applications for repeatable releases using Helm charts.\\nLearning Outcomes: Deploy applications using Deployments and StatefulSets, Configure Services, Ingress, and ConfigMaps, Manage releases with Helm charts\\nPrerequisites: CS-DOCKER-101, CS-CICD-201\\n---', name='search_courses', id='00e1a0f1-f97e-46b6-9f4d-ee55fc23c17d', tool_call_id='fc_68440688-509a-4a4d-ae5f-b46d16b4a8fc'),\n", - " AIMessage(content='', additional_kwargs={'reasoning_content': 'We have identified gaps: FastAPI, PostgreSQL, Docker. Need to search for courses for each. Already have courses:\\n\\nFastAPI: CS-FAST-101 (prereq CS-PY-101). Also CS-FAST-201 (prereq CS-PY-101, CS-DB-101, CS-FAST-101). Likely choose CS-FAST-101 as foundation.\\n\\nPostgreSQL: CS-DB-101 covers SQLite and PostgreSQL fundamentals. No explicit prerequisite. Also CS-DB-201 advanced. Choose CS-DB-101.\\n\\nDocker: CS-DOCKER-101 fundamentals, no prereq.\\n\\nNow need to resolve prerequisites: For CS-FAST-101, prerequisite CS-PY-101 (Python Fundamentals). Candidate has solid Python, Django experience. Likely resume shows Python mastery, so we can consider that as known. The instruction: \"Skip courses the candidate already demonstrates via projects or experience.\" So we can treat CS-PY-101 as known, not needed to include.\\n\\nCheck other courses for prerequisites: none else.\\n\\nThus roadmap includes three courses: CS-FAST-101, CS-DB-101, CS-DOCKER-101. Sequence: prerequisites before target modules. Since no dependencies among these three (except maybe Docker before FastAPI? Not required). Could order logically: start with Docker fundamentals (foundation for containerizing FastAPI later), then PostgreSQL fundamentals, then FastAPI. Or any order. We\\'ll assign sequence_order 1,2,3.\\n\\nis_fresher_adaptation_needed false, so no professional fundamentals module.\\n\\nNow need to build roadmap array with fields: course_id, is_foundation (boolean). Probably true for foundation courses? Let\\'s set is_foundation true for all three as they are foundational.\\n\\nReasoning: brief.\\n\\nNow need to create mermaid visualization following rules: gap courses ::gap, known prerequisites ::known, start node ::start, end node ::done. Since we are not adding known courses (CS-PY-101) as nodes, but we could include as known? The rules: known prerequisites should be marked ::known. Since we are skipping CS-PY-101, maybe we don\\'t include it. But we could include it as known to show prerequisite satisfied. Let\\'s include a node for CS-PY-101 as known.\\n\\nAlso start node: candidate\\'s current skills.\\n\\nEnd node: Role-ready β€” Backend Developer.\\n\\nGroup by week using subgraph. Let\\'s assign weeks: Week 1 Docker, Week 2 PostgreSQL, Week 3 FastAPI.\\n\\nMermaid code accordingly.\\n\\nNow need to call submit_final_roadmap with candidate_name, onboarding_summary (maybe executive summary), roadmap array, target_role \"Backend Developer\".\\n\\nThen submit_mermaid_visualization with code.\\n\\nProceed.', 'tool_calls': [{'id': 'fc_e1fad88b-3a4b-4877-a3df-369362707126', 'function': {'arguments': '{\"candidate_name\":\"Chirayu Jain\",\"onboarding_summary\":\"Chirayu is a near-ready backend candidate with solid Python, Django and SQL experience, but must quickly add FastAPI, PostgreSQL and Docker to meet CodeForge’s stack requirements.\",\"roadmap\":[{\"course_id\":\"CS-DOCKER-101\",\"is_foundation\":true,\"reasoning\":\"Provides essential containerization skills required to package FastAPI services for deployment.\",\"sequence_order\":1,\"title\":\"Docker \\\\u0026 Containerization Fundamentals\"},{\"course_id\":\"CS-DB-101\",\"is_foundation\":true,\"reasoning\":\"Covers PostgreSQL fundamentals, enabling design of relational schemas and optimized queries for the target role.\",\"sequence_order\":2,\"title\":\"SQL Fundamentals for Backend Developers\"},{\"course_id\":\"CS-FAST-101\",\"is_foundation\":true,\"reasoning\":\"Introduces FastAPI, the primary framework listed in the JD, building async REST endpoints and Pydantic models.\",\"sequence_order\":3,\"title\":\"REST API Development with FastAPI\"}],\"target_role\":\"Backend Developer\"}', 'name': 'submit_final_roadmap'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 864, 'prompt_tokens': 2825, 'total_tokens': 3689, 'completion_time': 1.891397937, 'completion_tokens_details': {'reasoning_tokens': 564}, 'prompt_time': 0.145777084, 'prompt_tokens_details': {'cached_tokens': 1792}, 'queue_time': 0.045268224, 'total_time': 2.037175021}, 'model_name': 'openai/gpt-oss-120b', 'system_fingerprint': 'fp_626f3fc5e0', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d206b-ee19-7900-a734-70259374603f-0', tool_calls=[{'name': 'submit_final_roadmap', 'args': {'candidate_name': 'Chirayu Jain', 'onboarding_summary': 'Chirayu is a near-ready backend candidate with solid Python, Django and SQL experience, but must quickly add FastAPI, PostgreSQL and Docker to meet CodeForge’s stack requirements.', 'roadmap': [{'course_id': 'CS-DOCKER-101', 'is_foundation': True, 'reasoning': 'Provides essential containerization skills required to package FastAPI services for deployment.', 'sequence_order': 1, 'title': 'Docker & Containerization Fundamentals'}, {'course_id': 'CS-DB-101', 'is_foundation': True, 'reasoning': 'Covers PostgreSQL fundamentals, enabling design of relational schemas and optimized queries for the target role.', 'sequence_order': 2, 'title': 'SQL Fundamentals for Backend Developers'}, {'course_id': 'CS-FAST-101', 'is_foundation': True, 'reasoning': 'Introduces FastAPI, the primary framework listed in the JD, building async REST endpoints and Pydantic models.', 'sequence_order': 3, 'title': 'REST API Development with FastAPI'}], 'target_role': 'Backend Developer'}, 'id': 'fc_e1fad88b-3a4b-4877-a3df-369362707126', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 2825, 'output_tokens': 864, 'total_tokens': 3689, 'input_token_details': {'cache_read': 1792}, 'output_token_details': {'reasoning': 564}}),\n", - " ToolMessage(content='{\"candidate_name\": \"Chirayu Jain\", \"target_role\": \"Backend Developer\", \"onboarding_summary\": \"Chirayu is a near-ready backend candidate with solid Python, Django and SQL experience, but must quickly add FastAPI, PostgreSQL and Docker to meet CodeForge’s stack requirements.\", \"roadmap\": [{\"course_id\": \"CS-DOCKER-101\", \"title\": \"Docker & Containerization Fundamentals\", \"reasoning\": \"Provides essential containerization skills required to package FastAPI services for deployment.\", \"is_foundation\": true, \"sequence_order\": 1}, {\"course_id\": \"CS-DB-101\", \"title\": \"SQL Fundamentals for Backend Developers\", \"reasoning\": \"Covers PostgreSQL fundamentals, enabling design of relational schemas and optimized queries for the target role.\", \"is_foundation\": true, \"sequence_order\": 2}, {\"course_id\": \"CS-FAST-101\", \"title\": \"REST API Development with FastAPI\", \"reasoning\": \"Introduces FastAPI, the primary framework listed in the JD, building async REST endpoints and Pydantic models.\", \"is_foundation\": true, \"sequence_order\": 3}]}', name='submit_final_roadmap', id='5fb8c861-d353-4034-a0c8-d1c17aeabcd6', tool_call_id='fc_e1fad88b-3a4b-4877-a3df-369362707126'),\n", - " AIMessage(content='', additional_kwargs={'reasoning_content': \"We have submitted final roadmap. Need to also submit mermaid visualization. Must follow rules: gap courses ::gap, known prerequisites ::known, start ::start, end ::done. In this case all three are gaps (they are missing foundations). However they have prerequisites: CS-FAST-101 prerequisite CS-PY-101, CS-DB-101 has none, CS-DOCKER-101 none. Candidate already has Python foundation, so we can treat CS-PY-101 as known prerequisite. Need to include it as known node. Sequence: start -> CS-DOCKER-101 (gap) -> CS-DB-101 (gap) -> CS-FAST-101 (gap) -> end. Also include CS-PY-101 as known prerequisite for FastAPI, placed before FastAPI maybe in same week or earlier. Since FastAPI depends on Python fundamentals, we should include known node before FastAPI. Could be in same week as FastAPI but as known. We'll create weeks: Week1 Docker, Week2 PostgreSQL, Week3 Python fundamentals (known) and FastAPI (gap). Or maybe include known before gap in same week.\\n\\nMermaid format: flowchart TD. Use subgraph W1, W2, W3.\\n\\nAdd class definitions.\\n\\nNow call submit_mermaid_visualization.\", 'tool_calls': [{'id': 'fc_ea8b8113-e478-45dd-a8b4-bf2eae927d9a', 'function': {'arguments': '{\"mermaid_code\":\"flowchart TD\\\\n A([Start β€” Current Skills]):::start\\\\n subgraph W1[\\\\\"Week 1 β€” Containerization\\\\\"]\\\\n B[CS-DOCKER-101\\\\\\\\nDocker \\\\u0026 Containerization Fundamentals]:::gap\\\\n end\\\\n subgraph W2[\\\\\"Week 2 β€” Relational DB\\\\\"]\\\\n C[CS-DB-101\\\\\\\\nSQL Fundamentals for Backend Developers]:::gap\\\\n end\\\\n subgraph W3[\\\\\"Week 3 β€” API Development\\\\\"]\\\\n D[CS-PY-101\\\\\\\\nPython Fundamentals]:::known\\\\n E[CS-FAST-101\\\\\\\\nREST API Development with FastAPI]:::gap\\\\n end\\\\n Z([Backend Developer β€” Role Ready]):::done\\\\n A --\\\\u003e B --\\\\u003e C --\\\\u003e D --\\\\u003e E --\\\\u003e Z\\\\n classDef gap fill:#EEEDFE,stroke:#534AB7,color:#26215C\\\\n classDef known fill:#E1F5EE,stroke:#0F6E56,color:#085041\\\\n classDef start fill:#1D9E75,stroke:#0F6E56,color:#E1F5EE\\\\n classDef done fill:#534AB7,stroke:#3C3489,color:#EEEDFE\"}', 'name': 'submit_mermaid_visualization'}, 'type': 'function'}]}, response_metadata={'token_usage': {'completion_tokens': 557, 'prompt_tokens': 3339, 'total_tokens': 3896, 'completion_time': 1.196030062, 'completion_tokens_details': {'reasoning_tokens': 266}, 'prompt_time': 0.160108793, 'prompt_tokens_details': None, 'queue_time': 0.046081046, 'total_time': 1.356138855}, 'model_name': 'openai/gpt-oss-120b', 'system_fingerprint': 'fp_8a618bed98', 'service_tier': 'on_demand', 'finish_reason': 'tool_calls', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d206b-f96f-7ad0-9a9e-fc4e668a8516-0', tool_calls=[{'name': 'submit_mermaid_visualization', 'args': {'mermaid_code': 'flowchart TD\\n A([Start β€” Current Skills]):::start\\n subgraph W1[\"Week 1 β€” Containerization\"]\\n B[CS-DOCKER-101\\\\nDocker & Containerization Fundamentals]:::gap\\n end\\n subgraph W2[\"Week 2 β€” Relational DB\"]\\n C[CS-DB-101\\\\nSQL Fundamentals for Backend Developers]:::gap\\n end\\n subgraph W3[\"Week 3 β€” API Development\"]\\n D[CS-PY-101\\\\nPython Fundamentals]:::known\\n E[CS-FAST-101\\\\nREST API Development with FastAPI]:::gap\\n end\\n Z([Backend Developer β€” Role Ready]):::done\\n A --> B --> C --> D --> E --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7,color:#26215C\\n classDef known fill:#E1F5EE,stroke:#0F6E56,color:#085041\\n classDef start fill:#1D9E75,stroke:#0F6E56,color:#E1F5EE\\n classDef done fill:#534AB7,stroke:#3C3489,color:#EEEDFE'}, 'id': 'fc_ea8b8113-e478-45dd-a8b4-bf2eae927d9a', 'type': 'tool_call'}], invalid_tool_calls=[], usage_metadata={'input_tokens': 3339, 'output_tokens': 557, 'total_tokens': 3896, 'output_token_details': {'reasoning': 266}}),\n", - " ToolMessage(content='Mermaid visualization saved successfully.', name='submit_mermaid_visualization', id='e07fe033-a45e-41ee-b421-caa15afa997d', tool_call_id='fc_ea8b8113-e478-45dd-a8b4-bf2eae927d9a'),\n", - " AIMessage(content='The learning roadmap for **Chirayu Jain** has been finalized and visualized.\\n\\n**Roadmap Summary**\\n- **Target Role:** Backend Developer \\n- **Onboarding Summary:** Near‑ready backend candidate with solid Python, Django and SQL experience; needs FastAPI, PostgreSQL, and Docker to meet CodeForge’s stack. \\n\\n**Course Sequence**\\n1. **CS-DOCKER-101 – Docker & Containerization Fundamentals** (Foundation) \\n2. **CS-DB-101 – SQL Fundamentals for Backend Developers** (Foundation) \\n3. **CS-FAST-101 – REST API Development with FastAPI** (Foundation) \\n\\n**Mermaid Visualization**\\n```mermaid\\nflowchart TD\\n A([Start β€” Current Skills]):::start\\n subgraph W1[\"Week 1 β€” Containerization\"]\\n B[CS-DOCKER-101\\\\nDocker & Containerization Fundamentals]:::gap\\n end\\n subgraph W2[\"Week 2 β€” Relational DB\"]\\n C[CS-DB-101\\\\nSQL Fundamentals for Backend Developers]:::gap\\n end\\n subgraph W3[\"Week 3 β€” API Development\"]\\n D[CS-PY-101\\\\nPython Fundamentals]:::known\\n E[CS-FAST-101\\\\nREST API Development with FastAPI]:::gap\\n end\\n Z([Backend Developer β€” Role Ready]):::done\\n A --> B --> C --> D --> E --> Z\\n classDef gap fill:#EEEDFE,stroke:#534AB7,color:#26215C\\n classDef known fill:#E1F5EE,stroke:#0F6E56,color:#085041\\n classDef start fill:#1D9E75,stroke:#0F6E56,color:#E1F5EE\\n classDef done fill:#534AB7,stroke:#3C3489,color:#EEEDFE\\n```\\n\\nAll steps are complete.', additional_kwargs={}, response_metadata={'token_usage': {'completion_tokens': 406, 'prompt_tokens': 3646, 'total_tokens': 4052, 'completion_time': 1.438615073, 'completion_tokens_details': None, 'prompt_time': 0.141632128, 'prompt_tokens_details': {'cached_tokens': 2816}, 'queue_time': 0.04638064, 'total_time': 1.5802472010000002}, 'model_name': 'openai/gpt-oss-120b', 'system_fingerprint': 'fp_626f3fc5e0', 'service_tier': 'on_demand', 'finish_reason': 'stop', 'logprobs': None, 'model_provider': 'groq'}, id='lc_run--019d206c-010d-7133-92a9-18ed936df441-0', tool_calls=[], invalid_tool_calls=[], usage_metadata={'input_tokens': 3646, 'output_tokens': 406, 'total_tokens': 4052, 'input_token_details': {'cache_read': 2816}})]" - ] - }, - "execution_count": 74, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "final_result['messages']" - ] - }, - { - "cell_type": "code", - "execution_count": 75, - "id": "25a6b5b4", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "\n", - "# Define the keys your React frontend actually needs\n", - "REQUIRED_KEYS = [\"candidate_name\", \"skill_gap_analysis_data\", \"mermaid_code\", \"final_roadmap\"]\n", - "\n", - "def export_ui_payload(state, filename=\"ai_output.json\"):\n", - " \"\"\"\n", - " Extracts specific keys from the graph state and ensures \n", - " Pydantic objects are dumped to dicts for JSON compatibility.\n", - " \"\"\"\n", - " ui_data = {}\n", - "\n", - " for key in REQUIRED_KEYS:\n", - " # Get the value from the state\n", - " val = state.get(key)\n", - " \n", - " if val is None:\n", - " continue\n", - "\n", - " # Check if the value is a Pydantic object (has .model_dump())\n", - " # This fixes the \"skill_gap_analysis_data as a string\" issue\n", - " if hasattr(val, \"model_dump\"):\n", - " ui_data[key] = val.model_dump()\n", - " else:\n", - " # If it's already a dict (final_roadmap) or string (mermaid_code)\n", - " ui_data[key] = val\n", - "\n", - " # Save to the local file\n", - " with open(filename, \"w\", encoding=\"utf-8\") as f:\n", - " json.dump(ui_data, f, indent=2)\n", - " \n", - " print(f\"βœ… UI Payload successfully exported to {filename}\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "478f19dd", - "metadata": {}, - "outputs": [], - "source": [ - "test_data=['atgdata.json','buisnessdata.json','chefdata.json','casemanager.json']\n", - "test_resumes=['ATGPDF.pdf','Business.pdf','CHEF.pdf','casemanager.pdf']\n", - "\n", - "\n", - "test_resume_path=r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\Testresume\\{test_resumes}\"\n", - "test_data_path=r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\data\\{test_data}\"" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "83f3bd72", - "metadata": {}, - "outputs": [], - "source": [ - "store_state=[]" - ] - }, - { - "cell_type": "code", - "execution_count": 91, - "id": "5b29b7ea", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import uuid\n", - "import os\n", - "from langgraph.checkpoint.memory import MemorySaver\n", - "\n", - "# --- Configuration & Paths ---\n", - "\n", - "test_map = [\n", - " {\"resume\": \"ATGPDF.pdf\", \"data\": \"atgdata.json\", \"name\": \"Atharva_Gaykar\"},\n", - "]\n", - "\n", - "RESUME_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\Testresume\"\n", - "DATA_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\data\"\n", - "\n", - "# Windows-safe absolute output path\n", - "OUTPUT_DIR = os.path.join(os.getcwd(), \"predictions\")\n", - "if not os.path.exists(OUTPUT_DIR):\n", - " os.makedirs(OUTPUT_DIR)\n", - "\n", - "# Global list to store final states if needed for debugging\n", - "store_state = []\n", - "\n", - "# --- Helper Functions ---\n", - "\n", - "def get_job_description_string(data_filename: str) -> str | None:\n", - " path = os.path.join(DATA_DIR, data_filename)\n", - " if not os.path.exists(path):\n", - " print(f\"⚠️ Data file not found: {path}\")\n", - " return None\n", - " try:\n", - " with open(path, \"r\", encoding=\"utf-8\") as f:\n", - " suite = json.load(f)\n", - " jd_obj = suite.get(\"job_description\") or suite.get(\"job_description_requirements\")\n", - " if not jd_obj:\n", - " return None\n", - " title = jd_obj.get(\"title\") or jd_obj.get(\"job_title\", \"N/A\")\n", - " desc = jd_obj.get(\"description\", \"\")\n", - " reqs = jd_obj.get(\"requirements\", [])\n", - " jd_string = f\"JOB TITLE: {title}\\n\\n\"\n", - " if desc: jd_string += f\"OVERVIEW: {desc}\\n\\n\"\n", - " jd_string += \"REQUIREMENTS:\\n\" + \"\\n\".join([f\"- {r}\" for r in reqs])\n", - " return jd_string\n", - " except Exception as e:\n", - " print(f\"❌ Error loading JD: {e}\")\n", - " return None\n", - "\n", - "def export_ui_payload(state: dict) -> dict:\n", - " REQUIRED_KEYS = [\"candidate_name\", \"skill_gap_analysis_data\", \"mermaid_code\", \"final_roadmap\"]\n", - " ui_data = {}\n", - " for key in REQUIRED_KEYS:\n", - " val = state.get(key)\n", - " if val is None: continue\n", - " ui_data[key] = val.model_dump() if hasattr(val, \"model_dump\") else val\n", - " return ui_data\n", - "\n", - "# --- Execution Loop ---\n", - "\n", - "def run_evaluation_suite(graph_instance):\n", - " print(f\"\\nπŸ“ Output directory: {OUTPUT_DIR}\\n\")\n", - "\n", - " for case in test_map:\n", - " print(f\"πŸš€ Processing: {case['resume']}...\")\n", - " resume_path = os.path.join(RESUME_DIR, case[\"resume\"])\n", - " if not os.path.exists(resume_path):\n", - " print(f\"⚠️ Resume not found: {resume_path}\")\n", - " continue\n", - "\n", - " jd_content = get_job_description_string(case[\"data\"])\n", - " if not jd_content:\n", - " print(f\"⚠️ JD not found in {case['data']}\")\n", - " continue\n", - "\n", - " initial_input = {\n", - " \"candidate_name\": case[\"name\"].replace(\"_\", \" \"),\n", - " \"file_path\": resume_path,\n", - " \"job_description\": jd_content,\n", - " \"resume_text\": None,\n", - " \"resume_data\": None,\n", - " \"extraction_error\": None,\n", - " \"JobDescriptionExtract_data\": None,\n", - " \"skill_gap_analysis_data\": None,\n", - " \"messages\": [],\n", - " \"mermaid_code\": None,\n", - " \"final_roadmap\": None,\n", - " }\n", - "\n", - " config = {\"configurable\": {\"thread_id\": str(uuid.uuid4())}}\n", - "\n", - " try:\n", - " print(f\"--- πŸ›°οΈ Starting Stream for {case['name']} ---\")\n", - " final_state = initial_input.copy()\n", - "\n", - " # The stream loop MUST be indented inside the try block\n", - " for chunk in graph_instance.stream(initial_input, config=config, stream_mode=\"updates\"):\n", - " for node_name, node_update in chunk.items():\n", - " print(f\"\\nπŸ“ [NODE]: {node_name}\")\n", - " \n", - " # Update local final_state with changes from the node\n", - " final_state.update(node_update)\n", - "\n", - " # Monitor agent messages for tool calls\n", - " if \"messages\" in node_update and node_update[\"messages\"]:\n", - " last_msg = node_update[\"messages\"][-1]\n", - " if hasattr(last_msg, \"content\") and last_msg.content:\n", - " print(f\"πŸ’¬ Thought: {last_msg.content[:100]}...\")\n", - " if hasattr(last_msg, \"tool_calls\") and last_msg.tool_calls:\n", - " print(f\"πŸ› οΈ TOOL CALL DETECTED: {last_msg.tool_calls}\")\n", - "\n", - " store_state.append(final_state)\n", - " print(f\"βœ… Graph finished for {case['name']}\\n\")\n", - "\n", - " # Save the result\n", - " prediction = export_ui_payload(final_state)\n", - " output_file = f\"predicted_{case['name'].lower()}.json\"\n", - " output_path = os.path.join(OUTPUT_DIR, output_file)\n", - " with open(output_path, \"w\", encoding=\"utf-8\") as f:\n", - " json.dump(prediction, f, indent=2, ensure_ascii=False)\n", - " print(f\"πŸ’Ύ Saved: {output_path}\\n\")\n", - "\n", - " except Exception as e:\n", - " print(f\"❌ Error during graph execution for {case['resume']}: {e}\")\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": 92, - "id": "c1638a3f", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "πŸ“ Output directory: c:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\Notebooks\\predictions\n", - "\n", - "πŸš€ Processing: ATGPDF.pdf...\n", - "--- πŸ›°οΈ Starting Stream for Atharva_Gaykar ---\n", - "πŸ“‚ File path received: C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\Testresume\\ATGPDF.pdf\n", - "πŸ“‚ File exists: True\n", - "πŸ“„ Pages loaded: 1\n", - "πŸ“„ Text length: 2671\n", - "\n", - "πŸ“ [NODE]: input_node\n", - "DEBUGGER: Sending 995 characters to JD Agent...\n", - "πŸ“„ Resume text length: 2671 chars\n", - "DEBUGGER SUCCESS: Extracted Senior ML & MLOps Architect\n", - "\n", - "πŸ“ [NODE]: jd_data_extraction\n", - "βœ… Resume extracted: AI Engineer\n", - "\n", - "πŸ“ [NODE]: resume_data_extraction\n", - "\n", - "πŸ“ [NODE]: skill_gap_analysis\n", - "πŸ’¬ Thought: \n", - " Skill Gap Analysis Completed for Atharva Gaykar.\n", - "\n", - " Gaps Identified:\n", - " {\n", - " \"job...\n", - "\n", - "πŸ“ [NODE]: roadmap_planning_agent\n", - "πŸ’¬ Thought: The learning roadmap for **Atharva Gaykar** has been finalized and saved, along with its Mermaid vis...\n", - "\n", - "πŸ“ [NODE]: finalize_state\n", - "βœ… Graph finished for Atharva_Gaykar\n", - "\n", - "πŸ’Ύ Saved: c:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\Notebooks\\predictions\\predicted_atharva_gaykar.json\n", - "\n" - ] - } - ], - "source": [ - "if __name__ == \"__main__\":\n", - " # Assuming your graph is already compiled and named 'graph'\n", - " run_evaluation_suite(graph)" - ] - }, - { - "cell_type": "code", - "execution_count": 95, - "id": "d6b44b85", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "flowchart TD\n", - " A([Start β€” Current Skills]):::start\n", - " subgraph W1[\"Week 1 β€” Kubernetes Foundations\"]\n", - " B[OPS-K8S-101\\nKubernetes for AI Workloads]:::gap\n", - " end\n", - " subgraph W2[\"Week 2 β€” GPU Inference Serving\"]\n", - " C[OPS-TRITON-201\\nHigh-Performance Serving with Triton]:::gap\n", - " end\n", - " subgraph W3[\"Week 3 β€” Self‑Hosted Vector DB (Milvus)\"]\n", - " D[DTA-MIL-401\\nBillion-Scale Vector Ops]:::gap\n", - " end\n", - " subgraph W4[\"Week 4 β€” Open‑Source Vector DB (Weaviate)\"]\n", - " E[CS-VEC-101\\nVector Databases & Semantic Search]:::gap\n", - " end\n", - " subgraph W5[\"Week 5 β€” LLM Security & Red‑Teaming\"]\n", - " F[SEC-LLM-301\\nLLM Red Teaming & Guardrails]:::gap\n", - " end\n", - " subgraph W6[\"Week 6 β€” End‑to‑End MLOps & Observability\"]\n", - " G[CS-MLOPS-301\\nMLOps β€” Model Deployment & Monitoring]:::gap\n", - " end\n", - " Z([Role‑Ready β€” Senior ML & MLOps Architect]):::done\n", - " A --> B --> C --> D --> E --> F --> G --> Z\n", - " classDef gap fill:#EEEDFE,stroke:#534AB7,color:#26215C\n", - " classDef known fill:#E1F5EE,stroke:#0F6E56,color:#085041\n", - " classDef start fill:#1D9E75,stroke:#0F6E56,color:#E1F5EE\n", - " classDef done fill:#534AB7,stroke:#3C3489,color:#EEEDFE\n" - ] - } - ], - "source": [ - "print(store_state[0]['mermaid_code'])" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "0910b325", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import uuid\n", - "import os\n", - "from langgraph.checkpoint.memory import MemorySaver\n", - "\n", - "# --- Configuration & Paths ---\n", - "# Mapping resumes to the JSON files containing the Ground Truth data we created\n", - "test_map = [\n", - " \n", - " {\"resume\": \"casemanager.pdf\", \"data\": \"casemanagerdata.json\", \"name\": \"Case_Manager\"}\n", - "]\n", - "\n", - "# Update these to your actual local paths where the files are stored\n", - "RESUME_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\Testresume\"\n", - "DATA_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\data\"\n", - "OUTPUT_DIR = \"./predictions\" \n", - "\n", - "if not os.path.exists(OUTPUT_DIR):\n", - " os.makedirs(OUTPUT_DIR)\n", - "\n", - "# --- Helper Functions ---\n", - "\n", - "def get_job_description_string(data_filename):\n", - " \"\"\"\n", - " Extracts the Job Description from the test data and formats it as a clean \n", - " string for the Extraction Node. Handles both 'job_description' and \n", - " 'job_description_requirements' keys.\n", - " \"\"\"\n", - " path = os.path.join(DATA_DIR, data_filename)\n", - " try:\n", - " with open(path, 'r', encoding='utf-8') as f:\n", - " suite = json.load(f)\n", - " \n", - " # Extract from 'job_description' or 'job_description_requirements'\n", - " jd_obj = suite.get(\"job_description\") or suite.get(\"job_description_requirements\")\n", - " \n", - " if not jd_obj:\n", - " return None\n", - " \n", - " title = jd_obj.get(\"title\") or jd_obj.get(\"job_title\", \"N/A\")\n", - " desc = jd_obj.get(\"description\", \"\")\n", - " reqs = jd_obj.get(\"requirements\", [])\n", - " \n", - " # Format as a clean string for the LLM to analyze\n", - " jd_string = f\"JOB TITLE: {title}\\n\\n\"\n", - " if desc:\n", - " jd_string += f\"OVERVIEW: {desc}\\n\\n\"\n", - " jd_string += \"REQUIREMENTS:\\n\" + \"\\n\".join([f\"- {r}\" for r in reqs])\n", - " \n", - " return jd_string\n", - " except Exception as e:\n", - " print(f\"Error loading JD from {data_filename}: {e}\")\n", - " return None\n", - "\n", - "def export_ui_payload(state):\n", - " \"\"\"\n", - " Extracts and formats state data for the UI payload.\n", - " Ensures Pydantic objects are converted to dicts using .model_dump().\n", - " \"\"\"\n", - " REQUIRED_KEYS = [\"candidate_name\", \"skill_gap_analysis_data\", \"mermaid_code\", \"final_roadmap\"]\n", - " ui_data = {}\n", - "\n", - " for key in REQUIRED_KEYS:\n", - " val = state.get(key)\n", - " if val is None:\n", - " continue\n", - " \n", - " # If it's a Pydantic object, dump it to a dict\n", - " if hasattr(val, \"model_dump\"):\n", - " ui_data[key] = val.model_dump()\n", - " else:\n", - " # If it's already a dict, list, or string (like mermaid_code)\n", - " ui_data[key] = val\n", - " return ui_data\n", - "\n", - "# --- Execution Loop ---\n", - "\n", - "def run_evaluation_suite_re(graph_instance):\n", - " \"\"\"\n", - " Automates the graph execution for every resume in the test suite.\n", - " Saves the final UI-ready payloads as 'predicted_{name}.json'.\n", - " \"\"\"\n", - " for case in test_map:\n", - " print(f\"πŸš€ Processing: {case['resume']}...\")\n", - " \n", - " # 1. Prepare Inputs\n", - " jd_content = get_job_description_string(case['data'])\n", - " \n", - " if not jd_content:\n", - " print(f\"⚠️ Skipping {case['resume']}: JD not found in {case['data']}\")\n", - " continue\n", - "\n", - " # The 'job_description' key must match your extraction node's expectation\n", - " initial_input = {\n", - " \"candidate_name\": case['name'].replace(\"_\", \" \"),\n", - " \"resume_path\": os.path.join(RESUME_DIR, case['resume']),\n", - " \"job_description\": jd_content, \n", - " \"resume_text\": None # Assuming input_node or extraction node loads the PDF\n", - " }\n", - "\n", - " # 2. Invoke Graph with a unique thread\n", - " thread_id = str(uuid.uuid4())\n", - " config = {\"configurable\": {\"thread_id\": thread_id}}\n", - " \n", - " try:\n", - " # Execution\n", - " final_state = graph_instance.invoke(initial_input, config=config)\n", - " \n", - " # 3. Process and Save UI Payload\n", - " prediction = export_ui_payload(final_state)\n", - " output_file = f\"predicted_{case['name'].lower()}.json\"\n", - " output_path = os.path.join(OUTPUT_DIR, output_file)\n", - " \n", - " with open(output_path, \"w\", encoding=\"utf-8\") as f:\n", - " json.dump(prediction, f, indent=2)\n", - " \n", - " print(f\"βœ… Success! Prediction saved to: {output_path}\")\n", - " \n", - " except Exception as e:\n", - " print(f\"❌ Error during graph execution for {case['resume']}: {e}\")\n", - "\n", - "# --- Example of Triggering ---\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "a8ef7f0b", - "metadata": {}, - "outputs": [], - "source": [ - "if __name__ == \"__main__\":\n", - " # Assuming your graph is already compiled and named 'graph'\n", - " run_evaluation_suite_re(graph)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "e37e4370", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import os\n", - "import re\n", - "from rouge_score import rouge_scorer\n", - "\n", - "def normalize(text):\n", - " if not text: return \"\"\n", - " return re.sub(r'\\W+', ' ', str(text).lower()).strip()\n", - "\n", - "def calculate_f1(target_set, predicted_set):\n", - " if not target_set and not predicted_set: return 1.0\n", - " if not target_set or not predicted_set: return 0.0\n", - " intersection = target_set.intersection(predicted_set)\n", - " precision = len(intersection) / len(predicted_set)\n", - " recall = len(intersection) / len(target_set)\n", - " if (precision + recall) == 0:\n", - " return 0.0\n", - " return 2 * (precision * recall) / (precision + recall)\n", - "\n", - "# ← replaces your manual calculate_lcs + get_rouge_l\n", - "scorer = rouge_scorer.RougeScorer(['rougeL'], use_stemmer=True)\n", - "\n", - "def get_rouge_l(reference, candidate):\n", - " if not reference or not candidate:\n", - " return 0.0\n", - " scores = scorer.score(reference, candidate)\n", - " return scores['rougeL'].fmeasure # F1 score directly\n", - "\n", - "\n", - "def run_benchmarking_report(target_data_dir, predicted_data_dir, mapping):\n", - " print(\"\\nπŸ“Š --- AI ENGINE PERFORMANCE REPORT ---\")\n", - " print(f\"{'Test Case':<20} | {'Skill F1':<10} | {'Reasoning (RG-L)':<15} | {'Retrieval (Hit)':<15}\")\n", - " print(\"-\" * 75)\n", - "\n", - " final_report = {}\n", - "\n", - " for case in mapping:\n", - " name = case['name']\n", - " target_path = os.path.join(target_data_dir, case['data'])\n", - " pred_path = os.path.join(predicted_data_dir, f\"predicted_{name.lower()}.json\")\n", - "\n", - " if not os.path.exists(target_path) or not os.path.exists(pred_path):\n", - " print(f\"⚠️ Skipping {name} β€” file not found\")\n", - " continue\n", - "\n", - " try:\n", - " with open(target_path, 'r', encoding='utf-8') as f:\n", - " target_json = json.load(f)[\"ai_target\"]\n", - " with open(pred_path, 'r', encoding='utf-8') as f:\n", - " pred_json = json.load(f)\n", - "\n", - " # 1. Skill Extraction F1\n", - " target_skills = {normalize(g['skill_name']) for g in target_json['skill_gap_analysis_data']['analyzed_gaps']}\n", - " pred_skills = {normalize(g['skill_name']) for g in pred_json['skill_gap_analysis_data']['analyzed_gaps']}\n", - " skill_f1 = calculate_f1(target_skills, pred_skills)\n", - "\n", - " # 2. Reasoning Quality β€” ROUGE-L via library\n", - " reasoning_rouge = get_rouge_l(\n", - " target_json['skill_gap_analysis_data']['executive_summary'],\n", - " pred_json['skill_gap_analysis_data']['executive_summary']\n", - " )\n", - "\n", - " # 3. Retrieval Hit Rate\n", - " target_ids = {normalize(c['course_id']) for c in target_json['final_roadmap']['roadmap']}\n", - " pred_ids = {normalize(c['course_id']) for c in pred_json['final_roadmap']['roadmap']}\n", - " hit_count = len(target_ids.intersection(pred_ids))\n", - " hit_rate = hit_count / len(target_ids) if target_ids else 0.0\n", - "\n", - " print(f\"{name:<20} | {skill_f1:>8.2%} | {reasoning_rouge:>15.2%} | {hit_rate:>15.2%}\")\n", - "\n", - " final_report[name] = {\n", - " \"skill_extraction_f1\": round(skill_f1, 4),\n", - " \"reasoning_rouge_l\": round(reasoning_rouge, 4),\n", - " \"retrieval_hit_rate\": round(hit_rate, 4),\n", - " }\n", - "\n", - " except Exception as e:\n", - " print(f\"⚠️ Error processing {name}: {e}\")\n", - "\n", - " # Average across all test cases\n", - " if final_report:\n", - " avg_f1 = sum(v[\"skill_extraction_f1\"] for v in final_report.values()) / len(final_report)\n", - " avg_rouge = sum(v[\"reasoning_rouge_l\"] for v in final_report.values()) / len(final_report)\n", - " avg_hit = sum(v[\"retrieval_hit_rate\"] for v in final_report.values()) / len(final_report)\n", - " print(\"-\" * 75)\n", - " print(f\"{'AVERAGE':<20} | {avg_f1:>8.2%} | {avg_rouge:>15.2%} | {avg_hit:>15.2%}\")\n", - "\n", - " return final_report\n", - "\n", - "\n", - "# --- Mapping & Paths ---\n", - "mapping = [\n", - " {\"data\": \"atgdata.json\", \"name\": \"Atharva_Gaykar\"},\n", - " \n", - "]\n", - "\n", - "DATA_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\data\"\n", - "PRED_DIR = \"./predictions\"\n", - "\n", - "report = run_benchmarking_report(DATA_DIR, PRED_DIR, mapping)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "70ced174", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import os\n", - "import re\n", - "\n", - "def normalize(text):\n", - " \"\"\"Clean and normalize text for comparison.\"\"\"\n", - " if not text: return \"\"\n", - " return re.sub(r'\\W+', ' ', str(text).lower()).strip()\n", - "\n", - "def calculate_lcs(X, Y):\n", - " \"\"\"Calculates the length of the Longest Common Subsequence.\"\"\"\n", - " m, n = len(X), len(Y)\n", - " L = [[0] * (n + 1) for _ in range(m + 1)]\n", - " for i in range(m + 1):\n", - " for j in range(n + 1):\n", - " if i == 0 or j == 0:\n", - " L[i][j] = 0\n", - " elif X[i-1] == Y[j-1]:\n", - " L[i][j] = L[i-1][j-1] + 1\n", - " else:\n", - " L[i][j] = max(L[i-1][j], L[i][j-1])\n", - " return L[m][n]\n", - "\n", - "def get_rouge_l(reference, candidate):\n", - " \"\"\"Calculates ROUGE-L F1 score using LCS.\"\"\"\n", - " if not reference or not candidate:\n", - " return 0.0\n", - " ref_tokens = normalize(reference).split()\n", - " cand_tokens = normalize(candidate).split()\n", - " if not ref_tokens or not cand_tokens:\n", - " return 0.0\n", - " lcs_count = calculate_lcs(ref_tokens, cand_tokens)\n", - " recall = lcs_count / len(ref_tokens)\n", - " precision = lcs_count / len(cand_tokens)\n", - " if (recall + precision) == 0:\n", - " return 0.0\n", - " f1 = (2 * recall * precision) / (recall + precision)\n", - " return f1\n", - "\n", - "def calculate_f1(target_set, predicted_set):\n", - " \"\"\"Calculates Precision, Recall, and F1 for sets of entities (Skills/IDs).\"\"\"\n", - " if not target_set and not predicted_set: return 1.0\n", - " if not target_set or not predicted_set: return 0.0\n", - " intersection = target_set.intersection(predicted_set)\n", - " precision = len(intersection) / len(predicted_set)\n", - " recall = len(intersection) / len(target_set)\n", - " if (precision + recall) == 0:\n", - " return 0.0\n", - " return 2 * (precision * recall) / (precision + recall)\n", - "\n", - "def run_benchmarking_report(target_data_dir, predicted_data_dir, mapping):\n", - " \"\"\"\n", - " Main evaluation loop benchmarking predictions against ground truth.\n", - " Handles missing keys and files gracefully.\n", - " \"\"\"\n", - " print(\"\\nπŸ“Š --- AI ENGINE PERFORMANCE REPORT ---\")\n", - " print(f\"{'Test Case':<20} | {'Skill F1':<10} | {'Reasoning (RG-L)':<15} | {'Retrieval (Hit)':<15}\")\n", - " print(\"-\" * 75)\n", - "\n", - " final_report = {}\n", - "\n", - " for case in mapping:\n", - " name = case['name']\n", - " target_path = os.path.join(target_data_dir, case['data'])\n", - " # Look for the predicted file (lowercase name mapper)\n", - " pred_filename = f\"predicted_{name.lower()}.json\"\n", - " pred_path = os.path.join(predicted_data_dir, pred_filename)\n", - " \n", - " # 1. Check for File Existence\n", - " if not os.path.exists(target_path):\n", - " print(f\"⚠️ Skipping {name} β€” Target file '{case['data']}' not found.\")\n", - " continue\n", - " if not os.path.exists(pred_path):\n", - " print(f\"⚠️ Skipping {name} β€” Prediction file '{pred_filename}' not found.\")\n", - " continue\n", - " \n", - " try:\n", - " with open(target_path, 'r', encoding='utf-8') as f:\n", - " target_json = json.load(f).get(\"ai_target\", {})\n", - " with open(pred_path, 'r', encoding='utf-8') as f:\n", - " pred_json = json.load(f)\n", - " \n", - " # --- Metric 1: Skill Extraction Accuracy (F1) ---\n", - " target_gap_data = target_json.get('skill_gap_analysis_data', {})\n", - " pred_gap_data = pred_json.get('skill_gap_analysis_data', {})\n", - " \n", - " target_skills = {normalize(g.get('skill_name')) for g in target_gap_data.get('analyzed_gaps', [])}\n", - " pred_skills = {normalize(g.get('skill_name')) for g in pred_gap_data.get('analyzed_gaps', [])}\n", - " skill_f1 = calculate_f1(target_skills, pred_skills)\n", - " \n", - " # --- Metric 2: Reasoning Quality (ROUGE-L) ---\n", - " target_summary = target_gap_data.get('executive_summary', \"\")\n", - " pred_summary = pred_gap_data.get('executive_summary', \"\")\n", - " reasoning_rouge = get_rouge_l(target_summary, pred_summary)\n", - " \n", - " # --- Metric 3: Retrieval Precision (Top-1 Hit Rate) ---\n", - " # Extract expected IDs from target\n", - " target_roadmap = target_json.get('final_roadmap', {}).get('roadmap', [])\n", - " target_ids = {normalize(c.get('course_id')) for c in target_roadmap}\n", - " \n", - " # Extract predicted IDs from prediction (Checking common possible keys)\n", - " pred_roadmap_obj = pred_json.get('final_roadmap', {})\n", - " # If final_roadmap is a list directly in some versions\n", - " if isinstance(pred_roadmap_obj, list):\n", - " pred_roadmap = pred_roadmap_obj\n", - " else:\n", - " pred_roadmap = pred_roadmap_obj.get('roadmap', [])\n", - " \n", - " pred_ids = {normalize(c.get('course_id')) for c in pred_roadmap}\n", - " \n", - " if target_ids:\n", - " hit_count = len(target_ids.intersection(pred_ids))\n", - " hit_rate = hit_count / len(target_ids)\n", - " else:\n", - " hit_rate = 0.0\n", - " \n", - " # Print status row\n", - " print(f\"{name:<20} | {skill_f1:>8.2%} | {reasoning_rouge:>15.2%} | {hit_rate:>15.2%}\")\n", - " \n", - " final_report[name] = {\n", - " \"skill_extraction_f1\": skill_f1,\n", - " \"reasoning_rouge_l\": reasoning_rouge,\n", - " \"retrieval_hit_rate\": hit_rate\n", - " }\n", - " except Exception as e:\n", - " print(f\"⚠️ Error processing {name}: {str(e)}\")\n", - "\n", - " return final_report\n", - "\n", - "# --- Mapping & Paths ---\n", - "mapping = [\n", - " {\"data\": \"atgdata.json\", \"name\": \"Atharva_Gaykar\"},\n", - " {\"data\": \"buisnessdata.json\", \"name\": \"Business_Manager\"},\n", - " {\"data\": \"chefdata.json\", \"name\": \"Executive_Chef\"},\n", - " {\"data\": \"casemanagerdata.json\", \"name\": \"Case_Manager\"}\n", - "]\n", - "\n", - "# Note: Ensure these paths are correct for your local environment\n", - "DATA_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\data\"\n", - "PRED_DIR = \"./predictions\"\n", - "\n", - "\n", - "if __name__ == \"__main__\":\n", - " report = run_benchmarking_report(DATA_DIR, PRED_DIR, mapping)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "73a45cfd", - "metadata": {}, - "outputs": [], - "source": [ - "import json\n", - "import os\n", - "import re\n", - "from rouge_score import rouge_scorer\n", - "\n", - "# -----------------------------\n", - "# Scorer instance (created once)\n", - "# -----------------------------\n", - "scorer = rouge_scorer.RougeScorer(['rougeL'], use_stemmer=True)\n", - "\n", - "\n", - "def normalize(text):\n", - " if not text: return \"\"\n", - " return re.sub(r'\\W+', ' ', str(text).lower()).strip()\n", - "\n", - "\n", - "def get_rouge_l(reference, candidate):\n", - " if not reference or not candidate:\n", - " return 0.0\n", - " return scorer.score(reference, candidate)['rougeL'].fmeasure\n", - "\n", - "\n", - "def calculate_skill_f1(target_skills, pred_skills):\n", - " if not target_skills and not pred_skills: return 1.0\n", - " if not target_skills or not pred_skills: return 0.0\n", - "\n", - " tp = 0\n", - " matched_targets = set()\n", - "\n", - " for p in pred_skills:\n", - " for t in target_skills:\n", - " if t in matched_targets: continue\n", - " if p in t or t in p:\n", - " tp += 1\n", - " matched_targets.add(t)\n", - " break\n", - "\n", - " precision = tp / len(pred_skills)\n", - " recall = tp / len(target_skills)\n", - "\n", - " if (precision + recall) == 0:\n", - " return 0.0\n", - " return 2 * (precision * recall) / (precision + recall)\n", - "\n", - "\n", - "def calculate_retrieval_hit(target_ids, pred_ids):\n", - " if not target_ids: return 0.0\n", - " if not pred_ids: return 0.0\n", - " return len(target_ids.intersection(pred_ids)) / len(target_ids)\n", - "\n", - "\n", - "def run_benchmarking_report(target_data_dir, predicted_data_dir, mapping):\n", - " print(\"\\nπŸ“Š --- AI ENGINE PERFORMANCE REPORT ---\")\n", - " print(f\"{'Test Case':<20} | {'Skill F1':<10} | {'Reasoning (RG-L)':<15} | {'Retrieval (Hit)':<15}\")\n", - " print(\"-\" * 75)\n", - "\n", - " final_report = {}\n", - "\n", - " for case in mapping:\n", - " name = case['name']\n", - " target_path = os.path.join(target_data_dir, case['data'])\n", - " pred_path = os.path.join(predicted_data_dir, f\"predicted_{name.lower()}.json\")\n", - "\n", - " if not os.path.exists(target_path) or not os.path.exists(pred_path):\n", - " if not os.path.exists(pred_path):\n", - " print(f\"{name:<20} | SKIPPED β€” prediction file not found\")\n", - " continue\n", - "\n", - " try:\n", - " with open(target_path, 'r', encoding='utf-8') as f:\n", - " target_json = json.load(f).get(\"ai_target\", {})\n", - " with open(pred_path, 'r', encoding='utf-8') as f:\n", - " pred_json = json.load(f)\n", - "\n", - " # --- Metric 1: Skill F1 ---\n", - " target_gap = target_json.get('skill_gap_analysis_data', {})\n", - " pred_gap = pred_json.get('skill_gap_analysis_data', {})\n", - "\n", - " target_skills = {normalize(g.get('skill_name')) for g in target_gap.get('analyzed_gaps', [])}\n", - " pred_skills = {normalize(g.get('skill_name')) for g in pred_gap.get('analyzed_gaps', [])}\n", - " skill_f1 = calculate_skill_f1(target_skills, pred_skills)\n", - "\n", - " # --- Metric 2: ROUGE-L ---\n", - " reasoning_rouge = get_rouge_l(\n", - " target_gap.get('executive_summary', \"\"),\n", - " pred_gap.get('executive_summary', \"\")\n", - " )\n", - "\n", - " # --- Metric 3: Retrieval Hit Rate ---\n", - " target_ids = {normalize(c.get('course_id')) for c in target_json.get('final_roadmap', {}).get('roadmap', [])}\n", - "\n", - " pred_roadmap_obj = pred_json.get('final_roadmap', {})\n", - " pred_roadmap = pred_roadmap_obj if isinstance(pred_roadmap_obj, list) else pred_roadmap_obj.get('roadmap', [])\n", - " pred_ids = {normalize(c.get('course_id')) for c in pred_roadmap}\n", - "\n", - " hit_rate = calculate_retrieval_hit(target_ids, pred_ids)\n", - "\n", - " print(f\"{name:<20} | {skill_f1:>8.2%} | {reasoning_rouge:>15.2%} | {hit_rate:>15.2%}\")\n", - "\n", - " final_report[name] = {\n", - " \"skill_extraction_f1\": round(skill_f1, 4),\n", - " \"reasoning_rouge_l\": round(reasoning_rouge, 4),\n", - " \"retrieval_hit_rate\": round(hit_rate, 4),\n", - " }\n", - "\n", - " except Exception as e:\n", - " print(f\"⚠️ Error processing {name}: {str(e)}\")\n", - "\n", - " # --- Average Row ---\n", - " if final_report:\n", - " avg_f1 = sum(v[\"skill_extraction_f1\"] for v in final_report.values()) / len(final_report)\n", - " avg_rouge = sum(v[\"reasoning_rouge_l\"] for v in final_report.values()) / len(final_report)\n", - " avg_hit = sum(v[\"retrieval_hit_rate\"] for v in final_report.values()) / len(final_report)\n", - " print(\"-\" * 75)\n", - " print(f\"{'AVERAGE':<20} | {avg_f1:>8.2%} | {avg_rouge:>15.2%} | {avg_hit:>15.2%}\")\n", - "\n", - " return final_report\n", - "\n", - "\n", - "# --- Mapping & Paths ---\n", - "mapping = [\n", - " {\"data\": \"atgdata.json\", \"name\": \"Atharva_Gaykar\"},\n", - " {\"data\": \"buisnessdata.json\", \"name\": \"Business_Manager\"},\n", - " {\"data\": \"chefdata.json\", \"name\": \"Executive_Chef\"},\n", - " {\"data\": \"casemanager.json\", \"name\": \"Case_Manager\"}\n", - "]\n", - "\n", - "DATA_DIR = r\"C:\\Users\\ATHARVA\\Downloads\\my codes\\web\\AdaptiveEngineService\\AI_Engine_Evaluation\\Testcases\\data\"\n", - "PRED_DIR = \"./predictions\"\n", - "\n", - "if __name__ == \"__main__\":\n", - " run_benchmarking_report(DATA_DIR, PRED_DIR, mapping)" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "pro_env", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.12.10" - } - }, - "nbformat": 4, - "nbformat_minor": 5 -}