跳到正文
Skillpedia
数据库22k · #10324

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-hybrid-search-alloydb/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  1. Requirements discovery. Gather detailed requirements related to the cloud workload or use case that the user needs assistance for.
  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.
  3. Solution validation. Create a plan to validate the generated solution, generate validation instructions and scripts, and run the validation.
  4. 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:

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能