AI engineering portfolio · synthetic data only

checking runtime…

Regulated AI Document Intelligence & RAG

A bounded insurance knowledge assistant demonstrating document extraction, retrieval-grounded generation, PII controls, human decision boundaries, persistent serverless retrieval and AWS AI integration.

PythonFastAPIAWS LambdaAPI GatewayBedrockDynamoDBTextractCloudflare Pages
deploymentchecking
modelchecking
retrievalchecking
AWSchecking

Step 1

Load a controlled synthetic claim guide

The public path is intentionally synthetic-only. When the AWS backend is connected with Textract enabled, the bundled PDF is processed through Textract; the fallback path uses pre-bundled synthetic text and states that clearly.

No document loaded yet.
Developer mode: custom synthetic upload

Only use fabricated or anonymised files. Public deployments disable this route by default.


      

Step 2

Ask a grounded question

no document selected

Answer

Load the synthetic demo first.

Control

Human-owned decisions

Approval, rejection, fraud, pricing and eligibility decisions are explicitly blocked from model execution.

Privacy

PII minimisation

PII is redacted before indexing/model use and output is checked again before returning to the client.

Reliability

Persistent retrieval

DynamoDB persists document chunks across Lambda cold starts; OpenSearch vector retrieval remains an optional scale-up path.

Governance

Audit without raw prompts

Structured request metadata goes to logs while raw documents, prompts and evidence are deliberately omitted.

Deployment

Truthful runtime disclosure

The interface exposes whether requests are hitting AWS Bedrock or the synthetic Cloudflare fallback, preventing portfolio overclaiming.

Verification

Automated journey checks

Backend tests, evaluation cases, JS syntax checks and edge smoke tests cover retrieval, policy boundaries and deployment behaviour.

Architecture

Public demo → AWS production-shaped path

Browser
  ↓
Cloudflare Pages + same-origin Function
  ↓
API Gateway
  ↓
Lambda + FastAPI
  ├─ Bedrock Converse
  ├─ DynamoDB document chunks
  ├─ Textract optional OCR
  └─ CloudWatch structured audit metadata

The edge fallback exists only to keep the public synthetic demo usable before AWS credentials are connected. It is deliberately labelled in the live runtime status above.

Portfolio boundary: synthetic engineering demonstration only. It is not production insurance software, must not process real customer data, and must not make high-impact insurance decisions.