RJBack to selected work

Production knowledge system

Ask HipHop

Building a citation-first research system for a knowledge domain where context, source quality and interpretation matter.

Role
Backend / Applied AI Engineering
System
RAG · Async ingestion · APIs
Stack
FastAPI · PostgreSQL · Redis · AWS
Status
Production
ask.hiphop

Explore the platform and its approach to source-aware hip-hop research.

Open in new tab

Not one model call. A chain of engineering decisions.

Ask HipHop combines domain content, long-form media and structured data behind a retrieval system designed to preserve context and provenance. The backend coordinates ingestion, retrieval planning, vector search, reranking and grounded generation instead of treating RAG as a single similarity-search step.

≈3,500weekly users
200+articles ingested daily
40+backend APIs
01Question

User intent enters the system

02Classification

Route the request before retrieval

03Retrieval plan

Choose knowledge bases and constraints

04Search

Vector search plus metadata filters

05Rerank

Improve relevance before generation

06Generate

Compose a grounded answer

07Cite

Return source-aware output

The useful part is why the architecture exists.

Classify before retrieving

A domain system benefits from knowing what kind of question it is answering before searching. Classification gives retrieval a narrower job and makes metadata constraints explicit instead of hoping similarity search discovers the right context on its own.

Treat ingestion as its own system

Documents, long-form video and structured entity data arrive through different pipelines. Asynchronous workers keep ingestion, parsing, embedding and indexing away from interactive request latency while making retries and failure states observable.

Keep provenance attached to context

Retrieval is not useful enough if the product cannot explain where an answer came from. Source metadata survives the pipeline so the generated response can remain tied to inspectable evidence.

Design for multiple knowledge spaces

The system evolved beyond a single vector collection. Retrieval planning and metadata filters allow questions to be evaluated against the appropriate project or knowledge base rather than searching everything indiscriminately.

FastAPI · PostgreSQL · Redis · asynchronous workers

Bedrock · embeddings · vector retrieval · reranking · metadata filters

React · citation-aware chat · public entity experiences