Challenge Framing
Prime Lands content lived across dynamic, JavaScript-rendered pages with no retrieval-ready structure, which made answer quality brittle and hard to ground with generic prompting alone.
This project sits at the intersection of web data acquisition, retrieval design, and answer trust. The system was designed to make public real estate content queryable without losing source traceability or domain precision.

Case Study
Project Overview
Built a domain-specific intelligence workflow that crawls dynamic real estate pages, converts them into structured corpora, indexes multiple chunk variants, and serves evidence-backed answers through RAG, CAG, and CRAG service paths.
Challenge Framing
Prime Lands content lived across dynamic, JavaScript-rendered pages with no retrieval-ready structure, which made answer quality brittle and hard to ground with generic prompting alone.
Solution Strategy
I built a config-driven ingestion-to-answering pipeline with browser-based crawling, multi-strategy chunking, vector indexing, semantic caching, and confidence-triggered corrective retrieval.
Project Highlights
Gallery
Selected screens show the visible product experience and the operational surfaces behind each project. Projects without captured assets keep a structured placeholder until real screenshots are available.
Prime Lands Real Estate Intelligence Platform
Browser-based ingestion transforms rendered site pages into markdown and JSONL artifacts ready for indexing.
Prime Lands Real Estate Intelligence Platform
The corpus is indexed through multiple chunk profiles so recall and context fidelity can be compared directly.
Prime Lands Real Estate Intelligence Platform
Queries move across cache, retriever, and corrective stages based on similarity and confidence signals.
Tech Stack
Retrieval engineering, context design, semantic caching, corrective retrieval, and experimentation-oriented AI system architecture.
Key Features
Playwright-based crawler captures JavaScript-rendered property content with domain filtering and polite traversal.
Multiple chunking strategies stay first-class so retrieval quality can be tuned by corpus behavior instead of assumption.
LCEL pipelines combine retriever, formatter, prompt, and model layers to keep answers evidence-backed.
CRAG expands search breadth when heuristics indicate low-confidence context.
Architecture
Each layer stays explicit so reviewers can quickly understand where interface, orchestration, persistence, and service responsibilities live.
Browser automation captures rendered pages and converts them into structured markdown and JSONL artifacts.
Chunk variants and metadata enrich the corpus before embedding and persistence.
RAG, CAG, and CRAG services coordinate retrieval, cache reuse, confidence checks, and answer generation.
System Flow
The pipeline section keeps the most important engineering steps visible without collapsing them into generic bullet lists.
Collect rendered pages, remove noisy DOM sections, and preserve useful metadata such as source URL and depth.
Convert HTML into markdown and JSONL so the corpus is readable to both developers and downstream chunkers.
Generate retrieval units across five chunking strategies and embed them into a Qdrant collection.
Route queries through standard RAG, semantic cache lookup, or corrective retrieval depending on context quality.
Timeline
This timeline keeps the implementation story concise: what was framed first, what was hardened next, and what ultimately made the project production-ready.
Defined crawling boundaries, content extraction rules, and artifact formats for dynamic real estate pages.
Implemented multiple chunking patterns to evaluate recall, context richness, and retrieval footprint.
Layered semantic caching and CRAG on top of the base RAG service to improve latency and recovery from weak context.
Challenges
Each challenge is tied to a concrete design choice and a specific outcome.
Solution
Used Playwright rendering waits, traversal rules, and content cleanup before conversion.
Outcome
Created a stable corpus instead of brittle static scrape output.
Solution
Stored multiple chunk representations with strategy metadata rather than forcing one segmentation approach.
Outcome
Made retrieval tuning evidence-driven instead of guess-driven.
Solution
Added a CRAG confidence heuristic that expands retrieval when overlap, richness, and diversity are weak.
Outcome
Improved robustness without introducing a separate reranking service.
Results
The emphasis here is signal, not decoration: key numbers, verifiable outcomes, and the context needed to interpret them responsibly.
691
Retrieval Units
Persisted across chunk artifacts for repeatable evaluation.
5
Chunk Strategies
Semantic, fixed, sliding, parent-child, and late chunking.
48
FAQ Cache Seeds
Preloaded prompts for low-latency domain responses.
4 -> 8
Adaptive Retrieval
CRAG expands top-k when confidence falls below threshold.
Key Results
Business Impact
Shows how fragmented property content can become an assistant-ready experience without losing citation quality.
Demonstrates retrieval experimentation, config-driven orchestration, and a clean path from prototype to service packaging.
Continue