Government Sites Tap AI for Enhanced UX and Engagement
AI in local government websites: enhancing user experience with language translation, content personalization, and Drupal AI modules.
As artificial intelligence (AI) is steadily seeping into nearly every aspect of modern life, government website stakeholders are sorting through what’s new and next to explore possibilities, embrace advantages, and avoid pitfalls.
AI refers to a multifaceted mix of technologies, that draw upon advanced computer systems and algorithms to simulate human intelligence and reasoning.
AI is essentially an umbrella term that incorporates machine learning and deep learning, both of which are designed to continuously learn from data – functioning far beyond the types of outcomes that can result from explicit programming.
What are the top applications for AI in local government websites?
The potential for AI to enhance the functionality, efficiency, and user experience of county and municipal government websites is huge. The top five AI applications are currently:
- Language translation,
- Content personalization,
- Search enhancements,
- Chat for customer support, and
- Predictive analytics.
Language translation
It's now the norm, not the exception, for counties and municipalities to serve diverse populations that speak a wide variety of languages.
AI language translation tools, such as the Drupal OpenAI Translation Toolbox, can automatically translate website content into multiple languages, making information accessible to a broader audience.
As websites increasingly serve as the front door from which local governments serve and interact with all constituents, robust translation capabilities that can serve a multilingual population, are helping to break down language barriers and ensure inclusive, efficient government services and outreach.
Content personalization
Content personalization capabilities have the potential to transform user experience.
By analyzing user behavior and preferences, AI powered applications can recommend relevant information and services, making an individual’s experience on the site more efficient and tailored to their needs.
One example of content personalization for a user that frequently searches for for children-related activities and events, would be a prioritization of this type of content, by highlighting or efficiently directing them to topics that are likely to be of interest.
Search enhancements
With the intention of efficiently delivering relevant search results, machine learning and natural language processing capabilities are managing to more accurately understand the intent behind search queries, based on user behavior and search patterns.
Traditionally, text entered in a search box produced the same results, regardless of the user. AI enhancements are making it possible to produce more relevant results that are adjusted in real time based on factors such as a user’s browsing history and the intent commonly associated with the words used.
Chat for instant support
AI-powered chat is currently the most common form of AI on county and municipal government websites.
Chat can provide immediate responses to frequently asked questions, guide users through complex processes, and offer assistance 24/7. The potential benefits of chat functionality are deep and far reaching, and include:
- Cost savings. By reducing the need for support staff to respond directly to routine inquiries, chatbots cut operational costs and free up staff to focus on more complex tasks.
- Efficiency and consistency. Chatbots can provide quick and consistent responses to frequently asked questions, making it easier for users to find information and access services without waiting on hold or for calls or emails to be returned.
- Availability: 24/7 availability combined with multilingual capabilities broadens access to a diverse population.
- Scalability. The ability to handle a high volume of citizen inquiries simultaneously, is a critical for government websites that experience varying levels of traffic.
- Data collection and analysis: Chatbots’ ability to collect data pertaining to citizen inquiries provides valuable data concerning citizen needs and concerns.
Predictive analytics
AI-driven predictive analytics can help local governments optimize resource allocation.
By analyzing historical data and web usage activity or inquiries, AI models can help inform decision-making on issues that range from improvements to web navigation and content, to usage patterns, to primary sources of complaints and concerns.
How is AI currently being used in county and municipal government websites?
With chat currently serving as the most prevalent form of AI on county and municipal government websites, new possibilities for AI are a top-of-mind consideration among public sector website stakeholders looking to enhance user experiences and streamline government operations.
Here are a four examples of municipal websites are making excellent use of AI applications:
Chat functions
Top navigation icons for the City of Los Angeles website, begin with a “Chat with Chip” option, followed by Language Translation, Accessibility, and Search.
When clicked, “Chat with Chip” opens into an inviting window for inquiries – versus the typical chat user experience, which appears as a small speech bubble in the lower right of the screen.
As Los Angeles been hit particularly hard with the Covid-19 pandemic, the chat function encourages residents to seek accurate and up-to-date information and resources.
The chat function for the San Jose, Calif., website appears in the more traditional location. It explicitly encourages inquiries.
And the level of functionality is clearly robust — suggestions of multiple options for inquiries, along with an open-ended question box.
Language options
With a drop down in the upper right for language options that include English, Suomi, and Svenski, Finland’s capital city of Helsinki’s website, consistently leverages AI to encourage citizen engagement and to filter analytics concerning how citizens are using the site, in order to improve city services, as well as the user experience of the site itself.
Personalized content
The website for the City of Barcelona in Spain is utilizing AI to provide personalized content to users. Information and services are tailored for individual users based on their behaviors and preferences.
What are some pitfalls of relying on AI for government websites?
In the words of former President Ronald Reagan, “Trust but verify.”
AI-generated information tends to be surface-level. While information can be amazingly on target, there is the possibility of nuanced inaccuracies or true misinformation.
Here’s an example of how AI can miss the mark:
Reasons to be cautious of AI
A ChatGPT query concerning examples of AI applications currently deployed on county and municipal government websites resulted in the following response:
“San Francisco implemented a chatbot on its website to assist residents with common inquiries, report issues, and find information about city services. This chatbot aimed to provide quick and efficient customer support.”
A review of the website for the City of San Francisco reveals that this is not the case. What was likely being referenced was an entirely separate site, San Francisco GPT. This site, however, is still very much in its beta form, and is not integrated into the official website for the city.
In addition to widely reported inaccuracies, here are six additional reasons to exercise caution before diving too deep or too fast into AI at this point.
- Accessibility. AI applications, if not designed and tested with Web Content Accessibility Guidelines in mind, can result in accessibility issues for people with disabilities.
- Privacy and Data Security. AI applications often involve collecting and processing user data. Robust systems need to be in place to protect this information. Data breaches or misuse can have serious legal and reputational consequences.
- Bias and Fairness. AI models can inherit biases from the data they are trained on. If these biases are not properly addressed, they can lead to unfair or discriminatory outcomes, which is especially problematic for government services.
- Transparency and Accountability: Transparency in decision-making is a fundamental principle in government. AI systems can be complex, making it challenging to explain their decisions, which can erode public trust.
- Resource Allocation. Developing and maintaining AI applications can be a resource-intensive use of taxpayer dollars. Costs need to be justified.
- Vendor Dependence. Many governments rely on third-party vendors to provide AI solutions. As open-source enthusiasts, we at Promet Source vigorously caution against the potential perils of vendor lock-in and data ownership.
While each of the above six factors are significant, this is not to say that we at Promet are not 100% on board with the possibilities and potential of AI for county and municipal government websites. New challenges are inherent to new technology.
What’s important is to be aware of issues as they emerge and ensure that they are addressed ethically and efficiently.
Drupal AI modules that can be worked into public sector sites right now
As was perceptively anticipated in an AI applications for Drupal blog published on this site earlier this year by Sonal Bendle, 2023 has shaped up to be the year that AI catapulted past the hype and into the mainstream of life and work – as well as Drupal development.
Here are some exciting new Drupal AI module developments can be deployed right now to leverage the potential of AI within government websites:
- Open AI Metadata uses Open AI to generate meta description for different content types.
- The AI Interpolator module is an API enabler to aid in the transformation or interpolation of one field into something else – such as descriptive text into an image.
- The AI Interpolator Open AI module is a plugin for the AI Interpolator module that makes it possible to use the power of AI to manipulate nodes, entities, blocks, and other content types.
- The Open AI Translation Toolbox is a module designed for to provide an efficient means to produce translations for multilingual websites. It leverages the capabilities of the OpenAI platform, including Azure OpenAI, to generate accurate translations for all enabled languages on a Drupal site.
- Open AI / Chat GPT / AI Search Integration. OpenAI is the company behind artificial generational intelligence products that power applications such as ChatGPT, GPT-3, and GitHub CoPilot. The Open AI / Chat GPT / AI Search Integration module aims to provide a suite of modules and an API foundation for OpenAI integration in Drupal for generating text content, images, content analysis and more, with a goal of augmenting and adding assistive AI tech and leveraging OpenAI API services in Drupal.
- Open AI Images is a Drupal module that leverages the OpenAI API to generate images from text descriptions. This module enables the effortless transformation of textual content into images. Using the OpenAI API's advanced natural language processing capabilities, the module interprets the provided text and generates corresponding images that capture the essence of the description. The generated images can then be saved as media entities on a Drupal site’s media library, ensuring easy access and management.
- The Artificial intelligence Image Generator module provides a CKEditor 5 plugin to generate images using artificial intelligence.
- The Leap AI module enables the remote generation images via the Leap AI (https://tryleap.ai/). It provides a media source plugin that allows for the creation, configuration, and management AI-generated images directly within a Drupal site – allowing for dynamic and customizable visual content.
- Augmentor AI is an AI framework for Drupal which allows for the easy integration of disparate AI systems into Drupal, providing a pluggable ecosystem for managing a variety of AI services such as GPT3, ChatGPT, NLP Cloud, Google Cloud Vision and many more.
- AI Connect is a powerful Drupal module that serves as a bridge between Drupal and AI-powered services, and is designed to fast track content creation by seamlessly integrating with cutting-edge AI technology.
- AI Work is a backend module that end users will not interact with directly. It serves as a flexible system and data structure creation tool for building AI apps and agents. The AI chat user interface will be first module to use AI Work as a default backend.
- Search API AI is a cutting-edge module that provides a collection of tools to integrate artificial intelligence and advanced search capabilities into a Drupal site. By leveraging the OpenAI Embedding API and storing vectors in Pinecone, this module enables the creation of powerful, AI-driven search experiences.
This is a short list and a start concerning Drupal’s depth and breadth of potential within AI.
Interested in pulling it all together – leveraging the power of Drupal alongside the potential of innovations in AI module development? That’s what we do. Let’s talk right now about AI features and functions that can take your website to the next level and beyond.
Other Insights & Resources you may like
Get our newsletter
Alright, so, software ate the world. That happened. Technology is now at the heart of every modern company, and as far as we can tell that isn’t changing. That’s the sitch. Our job is to make it more human.