Bias Detection Filter
Built an in-house bias detection filter for OpenSearch — 94% accuracy, 2-second Lambda response.
Problem
OpenSearch results needed bias filtering. A paid vendor (Coactive) handled it — expensive and opaque.
Approach
Reverse-engineered the vendor's approach. Built LangChain evaluators to score outputs. Iterated prompts systematically until 94% accuracy was achieved. Deployed on AWS Lambda via Serverless Framework with GraphQL integration.
Outcome
In-house solution matched commercial accuracy at a fraction of the cost. Also built a prompt-iterator Claude skill for future model migrations — reusable by the team.
Stack
Python · LangChain · AWS Lambda · Serverless Framework · GraphQL