Regulation Lookup Assistant
Taking the Regulatory Query Assistant as an example, in the past, government agencies and enterprises were limited by technical constraints to keyword-based searches for querying information. Keyword searches have the following drawbacks:
Poor semantic understanding, imprecise results
Cannot ask multiple questions at once
Affected by spelling errors
Cannot synthesize answers to multiple questions
These drawbacks result in a poor user experience. However, with the emergence of large language models and RAG, everything has changed. Below is a comparison table of traditional keyword search vs. RAG search:
Query Understanding
Limited to exact matching and basic synonyms
Understands context, intent, and nuanced meaning
Information Retrieval
Based on keyword frequency and basic relevance algorithms
Uses semantic similarity and context-aware retrieval
Result Format
List of potentially relevant documents
List of potentially relevant documents Synthesized answers with source citations
Handling Complex Queries
Typically requires multiple searches and manual integration
Can directly handle multi-faceted complex questions
Ability to Adapt to Domain-Specific Terminology
Limited unless extensively customized
Can learn and adapt to organization-specific terminology
Ability to Use Unstructured Data
Very limited
High, can extract insights from various document types
Continuous Learning
Typically static unless manually updated
Can improve over time through usage and feedback
Taking the "Government Regulatory Query Assistant" as an example, as shown in the National Land Management Agency's regulatory announcements below, keyword searches were used in the past. Now the goal is to improve user convenience through generative AI technology. On MaiAgent, you can do it like this:
https://www.nlma.gov.tw/最新消息/法規公告.html

Build a "Regulatory Query Assistant" on the MaiAgent Platform
The structure for building the "Regulatory Query Assistant" is as follows:
Since generative AI may pose risks for government agencies, the design aims to provide different response approaches for internal staff and the general public.
Entry points and architecture:
For the question "Are there age restrictions for funding subsidies?", the desired responses for internal staff and the general public are as follows:
Response received by internal staff:

Response received by the general public:

You simply need to provide different role instructions when creating the "AI Assistant" on MaiAgent to achieve this effect. Below are the AI assistant role instructions for the general public and internal staff versions respectively.
Role instructions (General Public version)
Role instructions (Internal Staff version)
Knowledge Base
Download past regulatory documents from the National Land Management Agency Regulation Search.
Regulation-Search.xlsx
National Land Plan Illegal Land Use Report Reward Regulations
National Land Planning Division
Regulatory Order
2024-10-31
Regulation content...
Public Restroom and Washroom for Parents and Children Setup Regulations
Building Management Division
Regulatory Order
2024-10-30
Regulation content...
Pre-announcement of Amendments to "Ministry of the Interior Social Housing Rental Regulations"
Housing Development Division
Draft Regulation
2024-10-22
Regulation content...
Last updated
Was this helpful?
