未知数据源 2024年09月15日
Grounding Analytical AI Agents with Looker’s Trusted Metrics
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

随着生成式 AI 的兴起,用户与产品和服务的互动方式发生了改变。企业可以将 AI 集成到其商业智能 (BI) 系统中,为用户提供更自然、更便捷的数据访问方式。本文将介绍如何利用 Google Cloud 的数据和 AI 云(BigQuery、Looker 和 Vertex AI)来构建 AI 驱动的 BI 系统,并以 OfficeSpace 的案例说明如何将 AI 代理集成到核心产品中,为用户提供更便捷的分析体验。

🤔 生成式 AI 的快速发展为用户与产品和服务的互动创造了新的方式,并为企业带来新的机遇。企业可以将 AI 集成到其商业智能 (BI) 系统中,为用户提供更自然、更便捷的数据访问方式。

🚀 Google Cloud 的数据和 AI 云(BigQuery、Looker 和 Vertex AI)为企业构建 AI 驱动的 BI 系统提供了强大的工具。通过利用这些工具,企业可以快速构建 AI 代理,并将其集成到现有系统中,为用户提供更强大的分析功能。

💡 以 OfficeSpace 为例,该公司将 AI 代理集成到其核心产品中,为用户提供更便捷的办公空间管理体验。AI 代理可以理解用户的自然语言问题,并利用 LookML 生成准确的查询,确保用户获得一致的分析结果,无论他们是在聊天中提问、查看仪表盘还是下载数据集。

🎯 构建 AI 驱动的 BI 系统需要解决两个关键问题:一是将用户的自然语言问题转化为标准查询,二是生成准确的查询以获取所需的数据。大型语言模型 (LLM) 在自然语言处理方面具有优势,而 Looker 的语义层则可以帮助生成准确的查询。

🤝 通过将 Gemini 和 Looker 结合起来,企业可以构建强大的 AI 代理,为用户提供更便捷的分析体验。培训过程与传统分析问题的解决方法相似,企业可以通过提供示例问题和预期结果来帮助 Gemini 理解业务需求,提高 AI 代理的准确性。

📈 AI 驱动的 BI 系统可以为企业带来诸多益处,例如降低用户使用门槛、提高数据访问效率、扩展数据分析的用户范围等。

💡 企业可以利用 Google Cloud 的数据和 AI 云,以及像 Bytecode 这样的合作伙伴,快速构建 AI 驱动的 BI 系统,为用户提供更强大的数据分析能力。

The growth and adoption of generative AI enables new ways for users to engage with products and services. Your organization has likely spent significant time and resources establishing trusted self-service analytics capabilities - and AI is revolutionizing how users can interact with their business data. For example, instead of building a query, users can use their voice or type their question using natural language . AI is the ‘magic’ that sits between the user and the data being queried - and that’s what type of interactions and experiences product and engineering teams are tasked with bringing to their users. 

Over the last decade, Bytecode has helped over 1,000 organizations build successful data stacks and Looker for trusted self-service analytics. Today, a common question we are getting from clients is how can I bring AI to my analytics and how long will this take? Clients who have invested in Google Cloud's vertically integrated data and AI cloud (BigQuery, Looker and Vertex AI) are excited to learn that the answer is both easier and faster than they expected.

In the age of generative AI, Looker customers have a tremendous time-to-value advantage by extending Looker’s trusted metrics into analytical agents for both fast and reliable insights for AI-powered Business Intelligence.

At the heart of many generative AI use cases are Large Language Models (LLMs). There is a growing number of  available LLMs pre-trained on massive amounts of data which make them generally impressive out of the box to interpret, translate or summarize text or another modality, but largely lacking when it comes to focused knowledge about your data and business. The speed at which an organization can point the ‘magic’ of AI at their data is essentially the same as how quickly one can become frustrated. Off-the-shelf LLMs aren’t (yet) trained to speak your specific language or know your unique business. Frustrations can arise when LLM generated definitions and the actual business terms differ, and this becomes particularly clear in analytical use cases. For example, how does your organization define a high value customer? It could be a combination of dollars spent over their lifetime, the recency of their last purchase or their repeat purchasing cadence. Permutations are endless and specific for every business. 

This data dilemma presents an opportunity to leverage your existing investments with Google’s Data Cloud, including Looker’s semantic modeling layer, where your business definitions are globally available to all your users and systems, including generative AI. By combining large language models in Gemini and Looker’s semantic layer, we are able to quickly fine tune and ground your analytical agent in your ‘business truths’ to deliver a new interface for end users to access trusted insights to make decisions.

For end users, getting analytical answers can now be as easy as asking a question. We’re seeing demand skyrocket within organizations that have successfully deployed analytical agents.

One of Bytecode’s clients is OfficeSpace, a SaaS workplace management platform. OfficeSpace is integrating AI agents into their core product to enable faster and easier management of desk reservations and space management experiences. Central to their product are analytics on office space usage and utilization. By leveraging the Gemini models and Looker they are able to go beyond dashboards and deliver accurate, governed insights directly within their chat experience. The AI models are trained on OfficeSpace then tuned to their specific use cases and use LookML to generate the queries, ensuring the answer is the same whether the user is chatting a question, reviewing a dashboard or downloading a dataset. 

The challenge

LLMs are providing a critical piece of the technology solution to make AI-Powered BI a reality. For OfficeSpace delivering their analytics chat experience, it is a two part problem:

  1. How to translate the many different ways a person could ask about occupancy rate into a standard question. This is the domain where LLMs are strongest.

  2. How to create a query that accurately calculates occupancy rate. This is the domain where semantic layers are strongest. 

The solution

What each technology is doing:

  1. The LLM is responsible for:

    1. Translating the end user question into a standard 

    2. Picking the Looker measure and dimension that most closely matches the question

  2. Looker is responsible for:

    1. Semantic layer to define business logic and generate query

    2. Delivering resulting data summary and/or visualization

Getting Gemini and Looker to communicate end-to-end is trivial. The accuracy of the experience is unlocked through a robust semantic layer, the grounding of the language model and prompt training to tune Gemini to accurately translate the question and select the right objects in LookML. Creating data agents with Gemini is very similar to creating curated self-service analytics - we focus on the end user, the questions they need to be able to answer and then curate the experience. 

Demystifying the training process 

Training sounds complicated, but it’s really similar to a traditional analytics problem. Just like when we build a dashboard, we identify the business questions our end users need to be able to answer and then build a set of visualizations to help make decisions. 

In the training process, we're taking the same approach. We come up with a list of business questions and provide Gemini the expected Looker Explore result. By providing Gemini common business questions and the expected results, you will see dramatic improvements in the accuracy of the auto-generated responses.

Lowering barriers grows data-empowered users

The delivery of trusted AI in Business Intelligence (BI) is a significant development for internal and productized analytics. We are breaking down even more barriers to adoption as we simplify the interface for users to answer data questions. Other customers are leveraging AI in BI to deliver analytics to their front line workers who just need a quick answer. 

We’re excited to partner with Google Data Cloud to demystify the process and deliver accurate, governed AI-powered BI. Reach out to Bytecode if you are searching for an experienced partner to help realize your analytical AI agent use cases, or visit the Google Cloud console to access Looker, Vertex AI and Gemini models to get started on your own.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

生成式 AI 商业智能 AI 代理 Looker Gemini
相关文章