Interview practice question
Extracting features from contracts with an LLM
Machine Learning · Feature Engineering · Experienced
You want to predict contract renewal and have thousands of PDF contracts. How would you extract features from them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Parse PDFs to text; use an LLM to extract structured fields (term, price, notice period, clauses).
- Define a schema and validate outputs against a labeled sample.
- Store extracted fields with provenance.
- Add embeddings for semantic similarity.
- Monitor extraction quality and costs.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.