Back to ProjectsCase Study
AI Candidate CV Screening Service
Web & Enterprise PlatformsBackend & AI EngineerProduction Service2026

AI Candidate CV Screening Service

High-Throughput Go Microservice with Cost-Aware LLM Evaluation

Key Impact: >70% LLM Cost Reduction & Automated Candidate Shortlisting
Go (Golang)OpenAI APIPrompt EngineeringRESTful APIDockerJSON SchemaHigh-Concurrency

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

Reduced manual engineering and HR resume screening effort by over 75%, allowing hiring teams to focus solely on high-match candidates
Cut LLM inference expenses by more than 70% compared to brute-force prompting architectures through deterministic filtering and context trimming
Achieved 100% structured schema compliance with zero scoring hallucinations across thousands of evaluated profiles
Decreased time-to-first-interview from 5 business days to less than 24 hours

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

Project NavigationView All (11)

Interested in working together?

I am currently open to software engineering opportunities, enterprise platform developments, and technical consulting.