Back to projects
01 · Agents & RAGLEXIS · RAG
2026
Solr [48]→BGE Top-5→Cited [1][2] ✓
8 QA Services · OFATCitation Recall ↑

LexisNexis GenAI Optimization: Retrieval, Reranking & Service-Level Evaluation

End-to-end optimization of LexisNexis legal RAG pipelines: search funnel tracing (Solr → BGE rerank), conditional citation recall, and per-service OFAT model benchmarking.

Impact:8 QA sub-services benchmarked · Conditional citation recall isolated & improved

01 · Context & Problem

In a large-scale legal GenAI product like LexisNexis, a single end-to-end score conflates failures across initial search, reranking, query rewriting, and grounded citation generation.

02 · Technical Approach

Built isolated service-level benchmarks (OFAT) across 8 core QA stages — routing, entity extraction, query rewrite, summarization, and answer generation. Traced full Solr → BGE → prompt funnels, measured conditional citation recall on fixed inputs, and resolved YAML/XML parser compatibility issues across model upgrades.

03 · Measurable Outcomes

Delivered service-by-service model selection matrices (quality, latency, token cost), recovered missed legal citations via prompt tuning, and shipped a reusable Python CLI evaluation runner.

Tech Stack

Hybrid RAGApache SolrBGE RerankOFAT EvalPythonFastAPI