google-cloud-solution-rag-enterprise-search-gke-sqldb
它能做什么
这个技能设计一个使用公司私有文档回答问题的 AI 搜索工具。它适用于希望在 Google Cloud 上托管、对自有内容进行聊天式搜索的团队。
适用场景
- ✓当你想在 Google Cloud 上对公司私有文档进行聊天式搜索的时候。
- ✓当你需要在 GKE 上托管向量数据库和开放模型来进行文档搜索的时候。
- ✓当你想为检索增强搜索系统获取架构和部署指导的时候。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-rag-enterprise-search-gke-sqldb/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请设计一个企业搜索系统,让员工能使用 AlloyDB 和 GKE 询问我们内部文档的问题。”
每周 5 个新技能,1 分钟读完。
工作原理
它分需求、架构、验证和打包几个阶段进行。在收集需求之前,它会暂不提出设计建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
RAG for enterprise search using GKE and AlloyDB
This skill provides a workflow to design and implement a secure, low-latency, and high-accuracy RAG-enabled conversational search solution for private enterprise content by using an AlloyDB database, Cloud Storage, and a Google Kubernetes Engine (GKE) cluster to host all the application components, including an open model and an open-source inference framework.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Overview of the workflow
The workflow consists of the following phases:
- Phase 1: Requirements discovery. Gather detailed requirements related to the cloud workload or use case that the user needs assistance for.
- Phase 2: Solution architecture. Use the requirements that were gathered in Phase 1 to generate a detailed solution architecture for the cloud workload or use case.
- Phase 3: Solution validation. Create a plan to validate the generated solution, generate validation instructions and scripts, and run the validation.
- Phase 4: Solution packing and presentation. Consolidate the generated content and present the solution.
Important notes about the workflow:
Strict phase separation: During Phase 1 (Requirements discovery), when you ask the user clarifying questions, DON'T recommend, propose, or outline any architectural designs, technical decompositions, cloud services, or component mappings.
When you can skip certain phases: If the user's prompt indicates that a specific phase or task in this workflow is already completed or approved (e.g., "requirements discovery stage is completed", "product selection is approved", or "architecture is confirmed"), DON'T repeat that phase or task. Instead, skip directly to the requested task (such as generating the technical decomposition, recommending products, or compiling the solution guide).
Phase 1: Requirements discovery
In this phase, you must gather detailed requirements related to the RAG workload that the user wants to design and deploy in Google Cloud.
Complete the following steps strictly in the specified order:
Ask the user to describe the functional requirements of the workload, including data types (structured, unstructured), ingestion frequency, and conversational features (e.g., multi-turn chat, citation requirements).
Ask the user to describe the following non-functional requirements:
- Security, privacy, and compliance: E.g., network isolation, private endpoints, data residency, and requirements for compliance.
- Reliability: E.g., scaling, high availability, resilience against zone or regional outages, disaster recovery goals for RTO and RPO.
- Cost: E.g., cost of compute, storage, and database resources.
- Operational excellence: E.g., monitoring, alerts, and logging.
- Performance: E.g., data upload speed, performance expectations for generating embedding vectors, and latency requirements for model responses and data retrieval queries (including vector and hybrid search).
- Sustainability: E.g., carbon footprint, low-carbon regions.
Ask the user whether the workload currently runs on other cloud providers or on-premises.
- If the user's answer is "yes", then ask the user to describe the architecture of the current deployment.
- If the user's answer is "no", then proceed to the next step.
Ask the user to describe dependencies, if any, on other workloads, products, or tools (e.g., identity providers, external sources, CRM/ERP database integrations).
Review the input that the user has provided so far, and check whether there are any ambiguities or contradictions.
If you identify any ambiguities or contradictions in the requirements that the user has provided, then do the following for each ambiguity or contradiction that you identify:
- Describe the ambiguity or contradiction.
- Ask the user how they wish to resolve the ambiguity or contradiction.
- If the user delegates the choice to you (e.g., the user replies with "do what you think is best" or "you decide"), then provide a clear suggestion to resolve the ambiguity or contradiction,
常见问题
它使用哪种存储保存文档?
Cloud Storage,AlloyDB 则作为嵌入向量的存储和索引。
它使用哪个模型?
一个开放模型,通过开源推理框架在 GKE 上提供服务。
AlloyDB 起什么作用?
AlloyDB 是向量数据库,Cloud Storage 和 GKE 负责其他部分。
详情
作者的原始描述
Discovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing framework, and Kubernetes containers to host all the application components. DON'T use this skill for fully-managed RAG, or SaaS search services, or when a non-SQL vector database is required.
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10327
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
finding-google-skills
22k帮你的智能体为某项设置任务找到合适的 Google 指南,例如托管、数据库、存储、登录或 AI 模型服务。
gcloud
22k帮你的智能体编写并检查 Google Cloud gcloud 命令,在运行任何内容之前查阅准确的语法,避免猜测参数。
google-cloud-recipe-auth
22k引导你的智能体了解 Google Cloud 的身份与访问管理,包括人员和服务如何登录,以及它们各自获得哪些权限。
google-cloud-recipe-onboarding
22k带领新开发者完成在 Google Cloud 上的第一步,包括选择项目、关联计费,以及部署第一个资源。