google-cloud-solution-hybrid-search-alloydb
它能做什么
这个技能设计混合了语义搜索与精确关键词和过滤搜索的系统,基于 AlloyDB。它适用于构建商品或内容搜索、希望结果既准确又快速的团队。
适用场景
- ✓当你想结合 AlloyDB 上的向量搜索与 SQL 过滤的时候。
- ✓当你需要为基于数据库的搜索添加分面搜索或语义重排序的时候。
- ✓当你想为跨数据库和应用的混合搜索设计无服务器应用的时候。
技能链接
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-hybrid-search-alloydb/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 AlloyDB 上设计一个商品搜索,让购物者可以按含义搜索、按价格筛选,并获得重新排序的结果。”
每周 5 个新技能,1 分钟读完。
工作原理
它分需求、架构、验证和打包四个阶段进行。它将需求与设计分开,只有需求明确后才会给出建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Dynamic Hybrid Search using AlloyDB
This skill provides a workflow to design and implement secure, low-latency, and high-accuracy hybrid search solutions combining structured dataset filtering, vector search indexing, faceted metadata filtering, semantic reranking, recall evaluation, in-database AI validation, database abstraction layers, and serverless application hosting.
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:
- Requirements discovery. Gather detailed requirements related to the cloud workload or use case that the user needs assistance for.
- Solution architecture. Use the requirements that were gathered in Phase 1 to generate a detailed solution architecture for the cloud workload or use case.
- Solution validation. Create a plan to validate the generated solution, generate validation instructions and scripts, and run the validation.
- Solution packaging 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, cloud services, or component mappings. This prevents premature architecture commitments or hallucinations before the full scope is understood.
- Halting for approval: For any step where you are instructed to "obtain approval before proceeding", you MUST stop executing, present the completed tasks to the user, and wait for their explicit approval. You MUST NOT proceed to execute any subsequent tasks or generate any further guidance in that response.
- Ground all generated content: For all tasks across all phases, you MUST
first look in the following resources:
Design Recommendations for the required guidance. If the guidance does not provide the required information, you MUST ground the generated content by using the following resources:
Google Developer Knowledge MCP server: https://developers.google.com/knowledge/mcp.md.txt
- Server: https://developerknowledge.googleapis.com/mcp
- Tools:
developerknowledge:search_documentsdeveloperknowledge:get_documentsdeveloperknowledge:answer_query
- Tools:
- Server: https://developerknowledge.googleapis.com/mcp
Relevant skills from https://github.com/google/skills
Official Google Cloud documentation in Related Guidance
Product Renaming & Terminology
When generating solution designs, architecture diagrams, and documentation, check the latest Google Cloud documentation for the most up-to-date product names. The table below provides examples of name mappings to be aware of. Note that underlying APIs, Terraform resources, and IAM roles may retain their legacy identifiers.
<table> <thead> <tr> <th>Legacy Name</th> <th>Updated Name</th> <th>Notes</th> </tr> </thead> <tbody> <tr> <td>Vertex AI</td> <td>Gemini Enterprise Agent Platform</td> <td>Gemini Enterprise Agent Platform can be shortened to Agent Platform after first instance</td> </tr> <tr> <td>Vertex AI Embedding</td> <td>Text embedding on Gemini Enterprise Agent Platform</td> <td>This refers to the text embedding models available on Gemini Enterprise Agent Platform</td> </tr> <tr> <td>Vertex AI Matching Engine</td> <td>Vector Search</td> <td></td> </tr> </tbody> </table>Phase 1: Requirements discovery
In this phase, you must gather detailed requirements related to the hybrid search workload that the user wants to design and deploy in Google Cloud.
Acknowledge provided requirements: If the user's prompt already contains some requirements (functional or non-functional, such as catalog size, search modalities, faceted attributes, or latency targets), you MUST explicitly acknowledge and restate all of these requirements in your response. Do NOT ask the user to describe or re-describe any requirements that they have already provided in the prompt.
Complete the following steps strictly in the specified order:
- Step 1: Ask the user to d
常见问题
它针对哪个数据库?
AlloyDB for PostgreSQL 的混合搜索。
它包括 AI 验证吗?
包括。它涵盖数据库内 AI 验证和召回率评估。
它涵盖无服务器托管吗?
涵盖。它涵盖搜索应用的无服务器托管。
详情
作者的原始描述
Discovers requirements and generates architectural, design, and deployment guidance for dynamic hybrid search systems by combining semantic search and keyword search. Optimized for AlloyDB hybrid search use cases in Google Cloud. Use when users need vector search combined with structured SQL filtering, faceted attributes, semantic reranking, in-database AI validation, or serverless hosting across transactional relational databases, analytical data warehouses, or managed database engines. DON'T use this skill for simple keyword-only search, or when a standalone non-relational vector database is
repo: google/skills
热度
- GitHub 星标
- 22k
- 排名
- #10324
- 许可证
- 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 上的第一步,包括选择项目、关联计费,以及部署第一个资源。