Designing Generative AI Solutions: Key Lessons Learned

Generative AI is transforming the way we interact with technology. Google Cloud Applied AI Engineering team has shaped the design and development of generative AI solutions for Generative AI for MarketingCustomer Experience Modernization, and Open Data QnA (NL2SQL), among others. Throughout this process, Google have gained valuable insights that Google believe can help others to successfully and responsibly design and implement these cutting-edge technologies. In this blog post, Google will share valuable lessons learned with three overarching design principles:

Offer Frictionless Experiences

Indicate what action is being performed by AI or what content is being generated by AI

Openly communicating AI’s role in the user experience builds trust and empowers users. Transparency sets realistic expectations and prevents confusion or feeling misled. By clearly signaling when AI is involved, users can develop an accurate understanding of the system and how best to interact with it.

Recommendation:

Example of AI icons

AI Icon in use (Gen AI for Marketing)

Content generated by AI (Gen AI for Marketing)

In Google Generative AI for Marketing code example, Google have provided symbols to indicate when content is being generated by AI as well as providing the SynthID watermarking symbol for generated images as shown above.

Provide Example Prompts to guide user

Starting from scratch can be intimidating. Examples give users a jumping-off point, sparking creativity and demonstrating AI’s capabilities.

Recommendation:

Here we show some generated example questions to ask via Open Data QnA

Design for Actionable AI experience

Businesses expect AI to drive efficiency and tangible improvements. Actionable results lead to a better return on investment and a faster learning loop.

Recommendation:

Export option for results

Allowing the user choices in actions to take is another way to allow feedback.

Build Trust Through Transparency

Explain the Reasoning Behind AI Outputs

Users should be able to understand how a generative AI tool came to its results. This fosters trust and makes the process more collaborative.

Recommendation:

For Google Open Data QnA (Natural Language to SQL) examples, Google provide explanations as well as visualizations on how the natural language query was translated into SQL for inspection.

Include Data Sources

Citing sources increases reliability and enables users to trace the origin of information, which is essential for fact-checking and avoiding misinformation.

Recommendation:

AI suggestion with linked sources

This example from Customer Experience Modernization shows an internal employee proactive search agent citing sources to both have the right length of information in the summary while allowing people to research further.

Utilize Personalization Carefully

Personalization tailors experiences to individual users. Done right, it helps users discover unique and relevant options. However, it’s essential to balance personalization with exploration and ethical considerations. Especially now with Gemini 1.5’s context window, greater degree of personalization can be achieved.

Recommendation:

AI recommending what’s the next best action for real human customer service agent (Customer Experience Modernization)

Explaining actions taken as well as incrementally adding new generative features allows users to experience personalized technology in a calibrated manner

Prioritize Your Goals

Balance Intent vs. Exploration

The best generative AI experiences can balance structured task completion with open-ended exploration. Here’s how to decide between an intent-focused vs. browsing-oriented design:

Recommendation:

Intent & browse based view (Customer Experience Modernization)

In Google Customer Experience Modernization code samples, Google have a generative search experience that expands into a conversational mode, allowing people to follow up and experience a rich palette of interactions beyond text and keywords.

Collaborate with AI for better user experience

User feedback is the lifeblood of generative AI improvement. Providing mechanisms for users to guide AI’s behavior helps empower them while offering crucial data for model refinement. Anticipating when you expect users to have feedback provides an indication to the user that you intend to be accountable for potential errors and plan to have a way to correct them. Define your expectations for errors and failures and make sure that error information is explanatory and allows the user to provide feedback. All whilst you provide transparency around data collection & handling.

Recommendation:

Compulsory feedback that enables error feedback

Conclusion

Generative AI holds immense potential, but its success depends on thoughtful design, especially as generative AI capabilities are evolving. By prioritizing transparency, user autonomy, explainability, actionability, personalization, and continuous feedback loops, we can create and continue to incrementally update generative AI solutions that are trustworthy, empowering, and genuinely beneficial to users and businesses alike. 

For more information, Google encourage you to visit Google’s People + AI Research guidelines and Google Responsible AI website. Read more about our code samples in Code samples to get started building generative AI apps on Google Cloud. 

Related posts

BrabantZorg transforms patient care in months with Google Workspace and Adapta

by Cloud Ace Indonesia
2 years ago

Best practices for SAP performance benchmarking

by Cloud Ace Indonesia
2 months ago

Introducing Google Cloud’s Tomcat Migration Tooling

by Kartika Triyanti
3 years ago