LLM projects fail when they are treated as prompt experiments instead of production systems. A reliable deployment needs architecture, evaluation, access control, monitoring, and a change process.
This breakdown uses an internal policy assistant for operations, HR, and finance teams.
Project Context
Employees ask repeat questions about policies, procedures, forms, approvals, and system access. The answers exist, but they are scattered across SharePoint, PDFs, intranet pages, and team documents.
Example baseline: 1,200 monthly internal questions, 35% repeat topics, inconsistent policy interpretation, and heavy dependency on operations managers to answer routine questions.
Architecture Layers
- Identity layer: users authenticate through the company identity provider.
- Retrieval layer: approved documents are indexed with metadata, ownership, and access controls.
- Orchestration layer: prompts, tools, structured outputs, and escalation logic are managed centrally.
- Guardrail layer: policies prevent restricted advice, expose uncertainty, and require source citations.
- Telemetry layer: logs question type, retrieval quality, answer rating, cost, latency, and escalation.
Example: an employee asks about travel reimbursement. The assistant retrieves the current travel policy, cites the exact section, asks for missing context if needed, and routes unusual cases to finance instead of guessing.
Evaluation & Monitoring
- Create a test set from real employee questions.
- Score answers for correctness, source citation, completeness, tone, and refusal quality.
- Include adversarial tests: confidential data requests, policy loopholes, and misleading questions.
- Monitor answer ratings, unsupported claims, retrieval failures, and escalation rates.
- Review failures weekly during launch and monthly after stabilization.
Evaluation should happen before launch and after every meaningful change. A prompt update is still a production change.
Governance
- Assign an owner for every knowledge source.
- Require review before adding new document categories.
- Keep a change log for prompts, model versions, retrieval settings, and access policy changes.
- Define incident handling for wrong answers, restricted disclosures, and service outages.
- Publish a simple usage policy so employees understand the assistant's limits.
Detailed Example
During pilot, the assistant correctly answers routine expense questions but struggles with edge cases involving client travel. The team adds a rule: if a question involves client billing or contract terms, the assistant summarizes the relevant policy and routes the case to finance review.
This is the right outcome. The assistant improves speed for common cases and narrows the escalation path for complex ones.
What Success Looks Like
- Employees find approved answers faster.
- Managers spend less time handling repeat policy questions.
- Answers cite source material instead of sounding authoritative without proof.
- Risky topics are escalated.
- Security can audit usage, access, and change history.
Production confidence comes from being able to explain how the system answers, when it refuses, and who owns the knowledge it relies on.
