ProjectsVirtual Assistant
Polsek Rembang RAG Public Service Assistant
A public service assistant that answers citizen questions from official SOP documents, helping users understand SKCK, lost report, permit, and police service procedures faster.

My Role
- 01Planned the RAG assistant flow and police-service knowledge base.
- 02Designed prompt guardrails so the assistant stays focused on Polsek Rembang services.
- 03Built the chat UI, API flow, and deployment-ready implementation.
Features
- 01Interactive chat for Q&A about police services with a friendly yet professional and informative tone.
- 02RAG over SOP documents: answers are derived from administrative service documents such as station profile, service hours, SKCK, lost item reports, event permits, detainee visits, and related public-service procedures.
- 03Response guardrails: assistant only answers topics relevant to police services, and politely declines off-topic questions.
- 04Consistent answer format (plain text): no markdown, no unusual symbols - easily readable on any device.
- 05Quick actions to speed up user flow: e.g., police service buttons, incident reports, and contact an officer.
- 06Download transcript: users can download chat history as evidence/conversation summary.
Impact
- Speeds up access to service information: citizens no longer need to search for procedures and requirements as answers are instantly available via chat.
- Reduces repetitive questions to officers for administrative matters (SKCK, lost items, permits), allowing officers to focus on field services.
- Enhances citizen experience with clear, consistent, and human-like responses - bringing public services closer through AI technology.
Stack
Next.jsTypeScriptGoogle AI StudioGemini APIGemini Embeddings