<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ayush3403b</title>
    <description>The latest articles on DEV Community by Ayush3403b (@ayush3403b).</description>
    <link>https://dev.to/ayush3403b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4260012%2F05c224bc-db59-4784-9e0a-6d3f05cea7f2.png</url>
      <title>DEV Community: Ayush3403b</title>
      <link>https://dev.to/ayush3403b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ayush3403b"/>
    <language>en</language>
    <item>
      <title>We built an AI interviewer that never sees the candidate's video or resume</title>
      <dc:creator>Ayush3403b</dc:creator>
      <pubDate>Mon, 23 Nov 2026 08:01:28 +0000</pubDate>
      <link>https://dev.to/ayush3403b/we-built-an-ai-interviewer-that-never-sees-the-candidates-video-or-resume-b7n</link>
      <guid>https://dev.to/ayush3403b/we-built-an-ai-interviewer-that-never-sees-the-candidates-video-or-resume-b7n</guid>
      <description>&lt;p&gt;&lt;em&gt;How we kept personal data away from the language model in a recruitment platform, and what it cost us in complexity&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When a client in HR tech asked us to build AI-led interviews for students, the first requirement was not about the AI at all. It was this: no video, no resume and no face data may be sent to a third-party model.&lt;/p&gt;

&lt;p&gt;That one rule shaped the whole architecture. Here is how we built around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;The client works across HR tech and ed tech. Screening a large student pool by hand is slow, and recruiters wanted interviews that adapt to each job. The obvious answer is to record the interview and hand everything to a large language model.&lt;/p&gt;

&lt;p&gt;We did not do that, for two reasons. Candidates are students sharing video of their faces and their full work history. And a model that sees everything is a model whose scoring nobody can explain.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the model is allowed to see
&lt;/h2&gt;

&lt;p&gt;We drew a hard line. The language model gets text and nothing else: Video, resume files and face data stay on our own backend.&lt;/p&gt;

&lt;p&gt;That meant three jobs normally handed to a cloud AI service had to run locally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Speech to text.&lt;/strong&gt; We transcribe answers on our own servers with faster-whisper.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resume parsing.&lt;/strong&gt; Resumes are parsed with PyMuPDF and scored by our own ATS scoring logic. The model never reads the file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Identity checks.&lt;/strong&gt; We use OpenCV for face-continuity checks, which confirm that the same person stays on camera for the whole interview. This runs on the video locally and produces a simple signal, not an image sent anywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  One question at a time
&lt;/h2&gt;

&lt;p&gt;Interview questions are generated one at a time from the job description, so each question can follow from the last answer.&lt;/p&gt;

&lt;p&gt;Generating live has a risk: the model can ask something irrelevant, or something no interviewer should ask. So every generated question passes two checks before the candidate hears it. One is for relevance to the role. The other blocks protected topics.&lt;/p&gt;

&lt;p&gt;If a question fails, or if the model is unavailable, the system falls back to a fixed question. The interview never stalls because an API is slow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scoring recruiters can explain
&lt;/h2&gt;

&lt;p&gt;Candidate matching uses a fixed weighting: 70% skills, 30% ATS score.&lt;/p&gt;

&lt;p&gt;It is a deliberately plain formula. A recruiter can look at a match and say why it ranked where it did, which is not true of a score that comes out of a model as a single number. Humans make every hiring decision; the platform only orders the list.&lt;/p&gt;

&lt;h2&gt;
  
  
  The unglamorous problem: video uploads
&lt;/h2&gt;

&lt;p&gt;The frontend is Next.js. Interview videos are too large for serverless request limits, so they upload directly to the FastAPI backend instead of passing through the frontend's server functions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we would tell another team
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Decide what the model may see before you choose a model. The constraint did more for our design than any prompt.&lt;/li&gt;
&lt;li&gt;Run the sensitive steps locally, even when a hosted API is easier. Transcription and vision were both practical to run ourselves.&lt;/li&gt;
&lt;li&gt;Always have a fallback that needs no model. Live generation fails at the worst moments.&lt;/li&gt;
&lt;li&gt;Prefer a scoring rule people can read over one that is slightly smarter.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The stack, for anyone curious: Next.js, FastAPI, MongoDB, faster-whisper, OpenCV, PyMuPDF and Groq.&lt;/p&gt;

&lt;p&gt;The platform serves three groups: students practising interviews, recruiters running them, and colleges tracking placements. We wrote up the project in more detail in our &lt;a href="https://www.kynyx.com/work/ai-recruitment-platform" rel="noopener noreferrer"&gt;AI recruitment platform case study&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Author name: Ayush Kumar, Full Stack Developer at Kynyx, a software and AI development company in New Delhi.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>privacy</category>
      <category>python</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
