Skip to main content
Version: v2.4.0

Mortgage Lending

Explore how the AI Optimizer grounds responses in mortgage application data and lending-policy documents. Work through a small portfolio of labelled mortgagors, such as MORTGAGOR_001, and see how the answers change as structured data and documents are added.

Keep it Clean!

Run this use case in a clean demo environment, such as the one created by the Walkthrough. It imports mortgage prompts, creates and resets mortgage database objects, and adds a vector store for policy and application documents.

The lender, applications, and criteria are demonstration data only: they contain no PII and do not produce lending decisions.

What You'll Explore

StepSettingsWhat it demonstrates
LLM-onlyNL2SQL off, Vector Search offThe model has no knowledge of this lender or portfolio.
NL2SQLNL2SQL onLive portfolio questions, including average salary by location, LTV, LTI, and expenditure.
Vector SearchVector Search on, NL2SQL offLending criteria, evidence standards, and application-pack context.
Both togetherNL2SQL on, Vector Search onA screening discussion that compares a mortgagor's data record with policy documents.

The policy covers income evidence, expenditure, loan-to-value, loan-to-income, and affordability resilience; the kinds of factors considered in responsible lending.

After exploring the grounded workflow, extend it with Deep Data Security to see row- and column-level access enforced on NL2SQL queries.

Complete the Setup before you begin.