FDE capstone: ship an enterprise AI assistant end-to-end
The layers a request passes through in an enterprise assistant
Step 1 of 7
Gateway
Authenticates the user, applies rate limits and checks the cache before any model is paid for.
Step 2 of 7
Query rewrite
Clarifies the question using the conversation so far, so later stages search on a clean query.
Step 3 of 7
RBAC retrieval
Hybrid search runs with the user's permission groups as a SQL-level metadata filter. Restricted chunks are never candidates.
Step 4 of 7
Rerank
A cross-encoder narrows the allowed candidates to the few that best answer the question.
Step 5 of 7
Cited answer
The model answers from those chunks with section-level citations. Low confidence escalates to a human instead of guessing.
Step 6 of 7
Output guard
Checks the draft for leaked or unsupported content before the user sees it.
Step 7 of 7
Audit log
Appends the query, the sources used and the answer to a tamper-evident log, which is the record auditors rely on.
Access control sits at retrieval, so restricted content never reaches the model.
Business problem
A large enterprise needs an internal AI assistant over policies, procedures and knowledge bases with strict access control, audit compliance, cost ceilings and gradual rollout.