
AI Candidate CV Screening Service
High-Throughput Go Microservice with Cost-Aware LLM Evaluation
Overview
The Automated CV Screening Service is an intelligent recruitment microservice engineered in Golang. It solves the scalability bottleneck of reviewing high-volume job applications by orchestrating a hybrid evaluation pipeline. Instead of naively passing raw CVs to expensive LLMs, the service executes high-speed deterministic preprocessing and criteria scoring in Go, invoking OpenAI models only on qualifying candidates with strictly compressed context windows.
Background
Modern technical hiring funnels receive hundreds to thousands of resumes per role. Manual screening drains hundreds of engineering and HR hours, while naive LLM pipelines suffer from exorbitant token costs, latency spikes, and hallucinations. A cost-effective, high-throughput solution was required to automate initial vetting with objective consistency while keeping API expenses strictly bounded.
Goals
- 1Automate resume ingestion and initial candidate assessment to accelerate recruiter screening velocity
- 2Eliminate brute-force LLM inference costs by implementing multi-tier deterministic qualification filters
- 3Prevent prompt injection and model hallucination by enforcing strict structured JSON schema responses
- 4Process concurrent candidate submissions with sub-second response times using Go goroutines
- 5Generate standardized candidate scorecards with objective pros, cons, and technical alignment ratings
Challenges
Prohibitive LLM Token Costs
Passing multi-page resumes and lengthy job specifications directly into GPT models incurred high API expenses that scaled unsustainably with applicant volume.
Unstructured & Noisy Resume Formats
Resumes vary wildly across layouts, PDF structures, boilerplate phrasing, and inconsistent section headers, requiring aggressive text normalization before evaluation.
Evaluation Consistency & Hallucinations
Unbounded generative prompts frequently produced subjective variances, grading drift between runs, and fabricated qualifications.
Solutions
- Engineered a high-speed Golang parser that extracts and sanitizes raw PDF text, removing layout artifacts, filler verbiage, and redundant formatting
- Constructed a deterministic pre-scoring engine in Go that validates hard requirements (years of experience, mandatory stack, education baseline), filtering out ~60% of unqualified applicants before any LLM API call is triggered
- Designed targeted few-shot prompts with strictly budgeted token windows, passing only relevant work experience and project achievements to the OpenAI API
- Enforced OpenAI Structured Outputs (JSON Schema) to guarantee deterministic fields for technical rating, leadership score, cultural alignment, and concise key highlights
- Leveraged Go concurrency (goroutines and worker pools) to handle parallel batch screening with minimal memory overhead
Key Features
Deterministic Pre-Filter Engine
Rule-based qualification screener that instantly grades baseline job requirements, eliminating zero-match applications without invoking commercial AI APIs.
Token-Optimized Context Compressor
Automated text summarization and keyword isolation that reduces resume token payload by up to 65% prior to LLM evaluation.
Selective LLM Reasoning
Fine-tuned OpenAI evaluation pipeline that analyzes deep project impacts, engineering complexity, and architectural scope for top-tier candidates.
Structured Scorecard Generator
API service that outputs standardized JSON scorecards directly ingestible by Applicant Tracking Systems (ATS) and HR dashboards.
High-Concurrency Worker Pool
Go worker pool architecture capable of evaluating bulk resume batches simultaneously with resilient rate-limiting and exponential backoff retry handling.
Impact & Results
Lessons Learned
- →The best AI engineering is often knowing when NOT to call an LLM — deterministic code is free, instantaneous, and 100% predictable
- →Enforcing strict JSON schema responses transforms LLM outputs from unpredictable prose into reliable, type-safe software primitives
- →Go's lightweight concurrency model makes it the ideal orchestrator for high-throughput I/O-bound AI API pipelines
Gallery
Interested in working together?
I am currently open to software engineering opportunities, enterprise platform developments, and technical consulting.