Inspiration

The idea for DALEEL came from a common challenge faced by residents, tourists, students, and entrepreneurs in the UAE. Finding information about visas, driving licenses, and other government services often requires visiting multiple websites, understanding complex requirements, and keeping track of changing regulations. At the same time, the UAE is actively investing in AI and digital transformation to improve public services. This inspired us to explore how an AI-powered assistant could make government information more accessible through a simple conversational experience. Our goal was to build a solution that helps users quickly find reliable information while still encouraging them to verify details through official government sources.

What it does

DALEEL is an AI-powered government services assistant that provides guidance on UAE visas, licenses, and related services.

Users can ask questions in natural language and receive information about: -Eligibility requirements -Required documents -Application procedures -Fees and processing times -Renewal processes -Frequently asked questions

The assistant supports both English and Arabic and provides official government links whenever available so users can verify the information.

Overall Architecture:

User ↓ Streamlit UI ↓ User Query ↓ TF-IDF Retrieval ↓ Knowledge Base JSON ↓ Relevant Context ↓ Gemini 2.5 Flash ↓ Grounded Response ↓ Streamlit Chat Window

Workflow:

  1. User Query Input: Users ask questions through an intuitive Streamlit chat interface.
  2. Information Retrieval Engine: The query is processed by a local TF-IDF retrieval engine, which searches our structured JSON knowledge base and identifies the most relevant information.
  3. Context Grounding: Only the relevant content is extracted and provided to the AI model, reducing noise and ensuring responses are based on trusted government information.
  4. AI Powered Response: The filtered context is sent to Gemini 2.5 Flash, which uses it as a grounding layer to generate reliable and service-specific answers.
  5. Response Delivery: The final response is streamed back to the Streamlit chat interface, giving users a fast, conversational experience.

How we built it

We curated and normalized a knowledge base of UAE visa and license services - including eligibility rules, required documents, process steps, fees, and processing times - sourced from publicly available information from official authorities like GDRFA, ICP, MOHRE, RTA, and DED. We used TF-IDF-based retrieval to match user questions to the most relevant knowledge base entries, then passed that retrieved context into Google's Gemini API to generate a natural, grounded conversational response - this RAG (retrieval-augmented generation) approach ensures the AI only answers from verified information rather than its own general training knowledge.

The project was developed using:

  • Streamlit for the user interface
  • Google Gemini 2.5 Flash for AI-powered responses
  • TF-IDF Retrieval for finding relevant information from the knowledge base
  • JSON Knowledge Base containing curated government service information
  • HTML & CSS for custom UI design

The system follows a Retrieval-Augmented Generation (RAG) approach. When a user submits a query, the retrieval engine searches the knowledge base for relevant information. The retrieved context is then provided to Gemini, which generates a grounded response based on the available information.

Challenges we ran into

One of the main challenges was making sure the assistant provides accurate information based on trusted sources. Government services often have specific rules and requirements, so it was important to reduce incorrect or misleading responses.

We also faced challenges such as: -Organizing government information into a searchable knowledge base -Making sure users get relevant answers to their questions -Creating a simple and easy-to-use interface -Supporting both English and Arabic users -Providing official government links so users can verify information easily

We wanted Daleel to feel warm and genuinely helpful, not like a legal disclaimer wrapped in a chatbot - but also needed to be strict about never inventing fees or guaranteeing visa approval outcomes. Getting that balance right took several iterations of the system prompt. Government service information was not always structured consistently. Organizing and standardizing the data into a format that could be easily searched and retrieved was one of the key challenges during development. We also wanted the platform to be simple and easy to navigate while still presenting a large amount of information. Creating a clean interface that supports quick access to services, multilingual interactions, and a smooth chat experience required several design iterations.

Accomplishments that we're proud of

-Building a solution that addresses a real-world problem faced by public. -Successfully integrating AI with a knowledge base to provide more reliable responses. -Making government service information more accessible through a simple chat experience. -Providing users with direct access to official sources for verification. -Creating a strong foundation for future agentic AI capabilities.

What we learned

Through this project, we learned how to build an AI-powered application using RAG, Streamlit, and Gemini AI. We gained experience in creating a knowledge base, improving response accuracy, and designing a simple and user-friendly interface. Working as a team helped us improve our collaboration, communication, and problem-solving skills. By dividing tasks and supporting each other throughout the development process, we were able to successfully build and improve the project together.

What's next for Daleel-UAE Government Service Assistant prototype

We plan to improve DALEEL by adding more features and making it more helpful for users accessing government services.

Our Future Enhancements include

-Renewal Reminders & Notifications: Send timely alerts for visa, Emirates ID, driving license, and business license renewals through email or mobile notifications. -Multilingual AI Assistant: Enhance Daleel with multilingual capabilities, allowing users to communicate in their preferred language. -Location-Based Service Finder: Interactive map showing the nearest driving test centers, RTA offices, ICP/GDRFA centers, typing centers, and other relevant government service locations. -Expanded Government Services: Extend support beyond visas and licenses to include Emirates ID services, family sponsorship, employment services, and business setup guidance. -Real-Time Updates: Integrate with official government sources to provide the latest information on regulations, fees, and service requirements. -AI Analytics Dashboard: Analyze anonymous user queries to identify common information gaps, frequently requested services, and user pain points, helping improve public service delivery and user experience.

Built With

Share this project:

Updates