什么是 pgvector-similarity-search?
使用 pgvector 执行语义相似性搜索。当被要求“搜索相似文档”、“查找相关内容”、“语义搜索”、“向量搜索”或实现 RAG 管道的检索阶段时使用。 来源:constructive-io/constructive-skills。
使用 pgvector 执行语义相似性搜索。当被要求“搜索相似文档”、“查找相关内容”、“语义搜索”、“向量搜索”或实现 RAG 管道的检索阶段时使用。
通过命令行快速安装 pgvector-similarity-search AI 技能到你的开发环境
来源:constructive-io/constructive-skills。
Query vector embeddings using pgvector's similarity operators. This skill covers the retrieval phase of RAG pipelines.
| | Cosine distance | Most common, normalized vectors | | | Euclidean (L2) | When magnitude matters | | | Inner product | Dot product similarity |
Cosine distance is recommended for text embeddings as it measures angle between vectors, ignoring magnitude.
使用 pgvector 执行语义相似性搜索。当被要求“搜索相似文档”、“查找相关内容”、“语义搜索”、“向量搜索”或实现 RAG 管道的检索阶段时使用。 来源:constructive-io/constructive-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/constructive-io/constructive-skills --skill pgvector-similarity-search使用 pgvector 执行语义相似性搜索。当被要求“搜索相似文档”、“查找相关内容”、“语义搜索”、“向量搜索”或实现 RAG 管道的检索阶段时使用。 来源:constructive-io/constructive-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/constructive-io/constructive-skills --skill pgvector-similarity-search 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/constructive-io/constructive-skills