Dormibot: Resident Assistant Support AI
Dormibot is an AI-powered assistant designed to support Resident Assistants (RAs) in their duties by providing quick access to policies, procedures, and contact information. The chatbot aims to:
- Provide instant answers to RA-related questions.
- Link directly to relevant procedural documents.
- Assist in conflict resolution, key checkouts, and emergency protocols.
- Maintain an empathetic, supportive tone in interactions.
Dormibot pulls its knowledge from a curated set of publicly available Google Docs provided by the university’s housing department. These documents contain:
- RA policies and procedures.
- Contact lists for emergency and administrative services.
- Training materials and guidelines.
- Incident response protocols.
To ensure relevant and accurate responses, Dormibot utilizes Retrieval-Augmented Generation (RAG). The chatbot retrieves relevant document excerpts based on user queries and integrates them into its responses, improving precision and reducing hallucinations.
- Retrieval-Augmented Generation (RAG): Fetches relevant text from RA policy documents to answer queries.
- Empathetic Response System: Dormibot maintains a warm, supportive, and understanding tone.
- Hostile Message Handling: If an RA is frustrated or upset, Dormibot de-escalates the situation with patient and constructive responses.
- UI Enhancements:
- Favicon updated to a lantern icon to reflect the theme of guidance.
- AI logo redesigned to match branding.
- Custom fonts applied to improve readability and aesthetic appeal.
- Customizable System Prompts: The AI adapts its responses based on the context and nature of user interactions.
Dormibot was built upon the myAI codebase but has undergone significant changes, including:
- Updated Default Response Messages:
- New friendly and engaging introductory message.
- Redesigned fallback message for when Dormibot cannot retrieve an answer.
- Overhauled UI.ts:
- Updated colors, fonts, and branding.
- Adjusted spacing and element positioning for better usability.
- Rewritten Prompts.ts:
- New system messages tailored for RA-specific needs.
- Specialized prompts for handling questions, conflicts, and support inquiries.
- Updated AI Identity:
- Dormibot is now known as "Sean," reinforcing its approachable personality.
- Enhanced Search Logic:
- Improved how document excerpts are retrieved and ranked for relevance.
Dormibot’s responses are guided by carefully designed system prompts, ensuring:
- Precision: AI provides direct and relevant information from RA policies.
- Empathy: Responses maintain warmth, humor, and supportiveness.
- Guidance-Oriented Approach: The AI directs users to specific documents via clickable links.
- Error Handling: If no relevant data is found, Dormibot acknowledges the limitation and suggests alternatives.
Dormibot is currently deployed at Dormibot Vercel. The full source code is available at GitHub Repository.
- Implementing better search ranking for multi-document queries.
- Adding voice-to-text capabilities for mobile accessibility.
- Expanding knowledge sources beyond Google Docs.
- Enhancing response personalization based on RA experience levels.
This document serves as the technical overview of Dormibot, detailing its development, capabilities, and areas for future growth.