Start a project

How our careers page reads a CV with Gemini

When someone applies on codeaxis.io/careers, they can upload a CV and the form fills itself: name, email, phone, experience, skills and links. The candidate checks and edits every field before sending. It is a small feature, and a good example of how we put an LLM into a product.

Step 1: get the text out yourself

Sending a whole file to a model is slower and costs more than sending its text. For a PDF we extract the text layer with pdf.js; for a .docx we read the document XML directly. Both run on the server before any AI call.

Step 2: ask for a schema, not a summary

Gemini receives the text with a fixed list of fields and returns JSON in that shape. Every field is optional: a CV without a phone number returns an empty phone, never an invented one. The server counts how many fields came back filled and tells the form.

Step 3: handle the scanned PDF

Some CVs are photographs saved as PDF, with no text layer. When extraction returns almost nothing, we send the PDF itself to Gemini, which reads the image. That path is slower, so it runs only when needed.

Step 4: store nothing

The parse endpoint keeps no copy of the file or the result. It returns fields to the browser, the candidate edits them, and only the submitted application is saved. The endpoint sits behind reCAPTCHA and a size and type check, so it cannot be used as a free AI service.

What we would tell anyone building the same

  • Let people correct the AI before anything is saved.
  • Ask for structured output with optional fields, so missing data stays missing.
  • Use the cheap path first (text extraction) and the expensive path (vision) as fallback.
  • Protect the endpoint the same way you would protect a login.

Questions people ask

Can AI extract data from CVs and invoices accurately?
For typed documents, structured extraction with a modern model is very accurate on clear fields such as names, dates and totals. Keep a review step, because layouts vary and some fields will be wrong or missing.
Does the CodeAxis careers page store my CV when it reads it?
Not at the parsing step. The file is read, the fields go back to your browser and nothing is stored until you submit the application.
Can CodeAxis build document extraction for our business?
Yes. We build extraction for CVs, invoices, receipts, purchase orders and forms, feeding into your app or ERP with a review step.