neo4j-vector-index-skill

仓库创建 2026年1月20日最近提交 7 天前SkillHot 收录 20 天前
▸ 精选理由

方便在图数据库内实现语义搜索与嵌入查询,适合推荐与检索场景。

▸ 风险提示

依赖特定 Neo4j 版本与向量索引引擎配置,需升级/兼容性注意。

这个 Skill 做什么

创建与管理 Neo4j 向量索引并执行向量相似度/近邻搜索。

在 Neo4j 里创建和管理向量索引、做向量相似度/近邻检索(ANN/kNN),并把 embeddings 写到节点或关系上,可配置 HNSW、quantization、相似度函数和维度。适用于语义搜索、近邻推荐、混合检索(向量+全文/图分数)或批量摄取 embedding 的场景。特点是兼顾新版 SEARCH 语法和旧的查询过程,能做细粒度索引参数调优。

▸ 展开 SKILL.md 英文原文

Create and manage Neo4j vector indexes, run vector similarity search (ANN/kNN), store embeddings on nodes or relationships, use SEARCH clause (Neo4j 2026.01+, preferred) or db.index.vector.queryNodes() procedure (deprecated 2026.04, still works on 2025.x), configure HNSW and quantization options, pick similarity function and embedding provider dimensions, and batch-update embeddings. Use when tasks involve CREATE VECTOR INDEX, vector.dimensions, cosine/euclidean search, embedding ingestion pipelines, semantic or structural nearest-neighbor lookup, or hybrid search (vector + fulltext, multiple vector sources, or graph-derived scores). Does NOT handle GraphRAG retrieval_query graph traversal — use neo4j-graphrag-skill. Does NOT handle fulltext-only/keyword-only search — use neo4j-cypher-skill. Does NOT compute GDS graph embeddings (FastRP, Node2Vec) — use neo4j-gds-skill.

数据与抓取向量检索索引嵌入Neo4j通用
98
Stars
35
Forks
29
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-vector-index-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-vector-index-skill/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
## When to Use
- Creating a vector index (`CREATE VECTOR INDEX`) on nodes or relationships
- Running vector similarity / nearest-neighbor search
- Storing embeddings on graph nodes during ingestion
- Indexing/querying embeddings already written by GDS algorithms
- Choosing similarity function, dimensions, HNSW params, or quantization
- Using `SEARCH` clause (2026.01+) or `db.index.vector.queryNodes()` (2025.x)
- Batch-updating embeddings after model change
- Combining vector results with immediate graph neighborhood (full retrieval_query pipelines → `neo4j-graphrag-skill`)
- Hybrid search that combines vector results with fulltext or other ranked sources

## When NOT to Use
- **GraphRAG pipe
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有