The title AI engineer covers a job that barely existed three years ago and is now advertised by banks, funds and the companies that sell to them. It is not research: nobody in the seat is training a model from scratch. It is the engineering around a model someone else trained, and in finance most of that engineering is two things. The first is retrieval, which is getting the right passage of the right document in front of the model. The second is evaluation, which is proving the system gives right answers before anyone relies on it. This guide explains both and works an evaluation through to the conclusion the numbers support.
What the job is, and what it is not
An AI engineer in finance builds systems that answer questions from documents: filings, research, contracts, transcripts, internal policy. The model is rented. The work is everything around it: getting documents into a searchable form, deciding what the model sees for each question, checking what comes out, and controlling cost and access.
The neighbouring roles are easy to confuse with it. A research scientist improves models themselves. A data scientist builds statistical models on structured data. A software engineer builds the systems all of them run on. The AI engineer sits closest to the software engineer, with one addition that defines the job: the component at the centre is not deterministic, so correctness has to be measured rather than assumed.
Retrieval: the right passage, not the whole filing
A model can only answer from what it is shown. An annual report runs to hundreds of pages, a question usually concerns a few paragraphs of it, and showing the model everything is slow, expensive and less accurate than showing it the right part.
Retrieval-augmented generation is the standard pattern. Documents are split into passages and indexed. When a question arrives, the system finds the passages most likely to contain the answer and gives only those to the model, with the question.
Financial documents make each stage harder than the textbook version. A table split across two passages loses its header row, and a number without its column heading is noise. "Revenue" appears on a hundred pages, of which one is the consolidated figure. Two filings from different years say nearly identical things with different numbers, and retrieving last year’s passage for this year’s question produces an answer that is fluent, sourced and wrong.
- Split on the document’s own structure, keeping each table whole with its headings
- Attach the company, period and section to every passage, and filter on them before searching
- Combine keyword search with meaning-based search: tickers and line-item names need exact matches
- Return the source passage with every answer, so a person can check it
Evaluation: a worked example
A team builds a system that answers questions about company filings and writes 50 test questions with known answers. The system gets 41 right, which is 82%.
The useful step is to split the failures. For each question, check whether the passage containing the answer was among the five retrieved. It was for 45 of the 50, so retrieval succeeded 90% of the time. Of those 45, the model answered 41 correctly, which is 91.1%.
So the nine failures have two causes. Five are retrieval failures: the model never saw the answer, and no improvement to the prompt can fix that. Four are generation failures: the model had the passage and still got it wrong. The two numbers multiply back to the headline, since 90% of 91.1% is 82%, and they point at different work.
| Stage | Passed | Out of | Rate |
|---|---|---|---|
| Right passage retrieved in the top five | 45 | 50 | 90.0% |
| Correct answer, given the right passage | 41 | 45 | 91.1% |
| Correct end to end | 41 | 50 | 82.0% |
How much a 50-question score can tell you
A score from 50 questions is an estimate, and it has error bars. For a proportion of 82% on 50 questions, the standard error is the square root of 0.82 x 0.18 / 50, which is 5.4 percentage points. A 95% interval is about 1.96 standard errors either side: roughly plus or minus 10.6 points, or 71% to 93%.
That interval decides what the team may conclude. Suppose a change to the prompt lifts the score from 41 to 43 correct, or 86%. A four-point gain sits well inside a ten-point margin. The honest reading is that the test cannot tell the two versions apart, and shipping the change on that evidence is a guess.
The remedies are the ones a statistician would name. Write more questions: at 400 the margin falls to under four points. Compare the two versions on the same questions and look only at the ones where they disagree. And keep a set of questions the team never tunes against, because a system adjusted until it passes its own test has learned the test.
What finance adds to the engineering
The constraints a bank or a fund works under shape the system more than the choice of model does.
- Entitlements: a user must never retrieve a document they are not permitted to read, so access control lives in the retrieval layer, not in the prompt
- Auditability: every answer must be traceable to a source and a version, months later
- Point-in-time correctness: a question about what was known on a date must not be answered from a later filing
- Numerical exactness: a figure is either the reported one or it is wrong, and "approximately" is not a passing grade
- Cost and latency: a system used by a thousand people has a budget per question
What the interview loop looks like
Loops for this seat usually combine an ordinary coding round with a design round specific to the work: design a system that answers questions over ten years of filings for a hundred companies. The strong answer spends less time on the model than the interviewer expects and more on the two things above. How are tables handled? How is the right period selected? How would you know it works, on what test set, with what margin of error?
Candidates who say "we would evaluate it" lose to candidates who say what they would measure, on how many examples, and what result would change their mind. The evaluation worked above is the level of specificity that separates them.
Coming to it from finance
An analyst moving towards this work has an advantage that is hard to teach: knowing what a right answer looks like. Whether a system has confused adjusted and reported operating income is obvious to someone who has built a model and invisible to someone who has not. Writing a test set is domain work, and good test sets are the scarce input.
The gap to close is engineering: Python beyond scripts, version control, how to call a model from code, and one small retrieval project built end to end over public filings with an evaluation attached. A project with a measured result and an honest error bar says more than a certificate.
Next
Rehearse the AI engineer loop
The interview track covers the rounds this guide describes: system design for retrieval, evaluation, and the product judgement behind both.
Keep your AI Product Sense Drill results
AI Product Sense Drill is free without an account. A free account keeps your practice streak and the drills you have done on every device, and builds the next three things to do from your target. One email, no password.
Technology for finance: learn it, then use it
Python, SQL, version control and AI tools, used the way an analyst uses them: on data, with the checks.
Frequently asked questions
What does an AI engineer do at a bank or a fund?
Builds systems that answer questions from documents using a language model: indexing filings and research, retrieving the right passages, checking the output and controlling access and cost. The work is engineering around a rented model, not training one.
What is retrieval-augmented generation?
A pattern in which a system first finds the passages of a document set most relevant to a question, then gives only those passages to a language model to answer from. It keeps answers tied to a source and avoids showing the model whole documents.
How many test questions does an evaluation need?
More than most teams write. At 50 questions and a score of 82%, the 95% margin of error is about 10.6 points, so differences of a few points cannot be distinguished. Around 400 questions brings the margin under four points.
Can I move into AI engineering from a finance role?
Yes, and domain knowledge is an advantage: knowing what a correct answer looks like is what makes a good test set. The gap is engineering practice, best closed by building one small retrieval system over public filings and measuring it.
