The European Parliament is the EU's legislative body overseeing EU lawmaking and the democratic functioning of other EU institutions.
EUR-Lex, the Parliament's search portal, caters to a diverse audience including MEPs, lobbyists, content managers, citizens, and journalists seeking specific legal information within the platform's extensive library of Eureopean regulations and access to all the editions of the Official Journal of the European Union from the very first one of December 1952!
Most visitors to the European Parliament's website are task-oriented, seeking specific information rather than exploring the institution. Once they find what they need, they typically leave the site.
The challenge lies in creating a search experience that delivers precise results swiftly, while also providing essential context for informed decision-making. The current keyword search through thousand of documents is inadequate for this purpose, leading to significant user frustration 🤯.
This project aims to enhance information accessibility across multiple websites by improving search functionality. By doing so, we want to help both internal and external stakeholders find information more quickly. Our goals are to
As design lead, I partnered with a colleague to develop this solution. My primary responsibilities included understanding user needs and designing the final user interface.
Most visitors to EUR-Lex are primarily seeking specific information rather than exploring the institution. The current search function is hindering this goal. Slow, complex searches with limited context and buried options create a poor user experience. To better serve users and encourage deeper engagement, the website needs to prioritise discoverability.
A task analysis study identified the primary tasks performed by both internal and external users on the website. The study also assessed the platform’s effectiveness in guiding users to relevant content and documents.
Analysis showed that the overwhelming majority of website traffic comes from search engines, split evenly between mobile (52%) and desktop. Users primarily seek news, facts, or reference materials. This confirms information consumption, not engagement.
As you can see it is a varied mix of content.
We used a tool called event storming to visualise the search flow. This collaborative workshop helped us map out the entire user journey. Unlike traditional methods, event storming encouraged creative problem-solving. Using sticky notes on a Miro board, we created a visual representation of the search process, which became a blueprint for wireframing.
Although temperature and top_p are often considered technical parameters primarily relevant to engineers, they hold big implications for designers. An understanding of these parameters is crucial for creating AI driven experiences that align with user expectations and preferences.
Temperature is the measure of entropy or chaos in generated output. It is a setting that controls randomness when picking words during text creation. Low values of temperature make the text more predictable and consistent, while high values let more freedom and creativity into the mix, but can also make things less consistent.
Top_p or nucleus sampling is a setting that decides how many possible words to consider. A high top_p value means the model looks at more possible words, even the less likely ones, which makes the generated text more diverse.
For our purposes we chose a low temperature + low top_p. We want simple predictable results that are targeted at a wide range of users.
Before staring on this project, we established a clear set of design principles and a philosophy specifically tailored for AI features. This framework served as our guide, shaping our vision.
Here is a sample of some of the principles we created.
When explaining our AI, focus primarily on conveying how it makes part of the experience better or delivers new value, vs explaining how the underlying technology works.
Help our customers understand the application's capabilities by clearly stating what AI can do. This helps set expectations.
As you onboard users to a new AI-driven product or feature, guide them with familiar touchpoints.
AI has changed how we interact with technology. While fundamental design principles remain true, the evolution of AI interfaces demand a new approach to user interaction. Here is a selection of patterns we used.
Sample suggestions guide users by offering potential next steps in a conversation. Presented as a list of 3-5 options, these pre-filled suggestions can be selected to continue the interaction easily.
AI relies on tokens to understand the user's prompt and translate it into the result. This input pattern is universal, and it adheres closely to how we communicate naturally as humans. We choose our words wisely because they hold meaning.
Daemons have particular personalities – one plays devil's advocate, one says encouraging things and compliments your writing, one synthesises your ideas, one fetches evidence and research for you, or maybe one elaborates on points you haven't fully explained.
Nudges alert users to actions they can take to use AI, especially if they are just getting started as in-app clues or where they serve users.
We need ways to let it interact with our content directly. Inpainting gives users the ability the let AI adjust parts of a piece of content without regenerating or impacting the whole.
Instead of simply summarising a topic or a primary source, AI can collect information from multiple sources and aggregate it into a single response. Citations help users trace the information contained in a response back to its original material.
We started on a journey of exploration to refine the search interface's user experience. We experimented with different layouts, information architecture, and interaction patterns to optimise the search flow.
The following section unveils the final design, highlighting its key features and the rationale behind the design decisions.