neo4j-graphrag-skill

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

支持多种检索器与外部向量库,便于把图信息纳入 RAG

▸ 风险提示

可能需外部向量库与 API 密钥,注意凭证和数据外泄风险

这个 Skill 做什么

使用 neo4j-graphrag 在 Neo4j 上构建 GraphRAG 检索增强管道

要在 Neo4j 上搭 GraphRAG 检索增强管道时用,基于 neo4j-graphrag 帮你选检索器(Vector/Hybrid/Text2Cypher 等)、写 retrieval_query 的 Cypher 片段并把检索器和 LLM 绑在一起。支持外部向量库(Weaviate、Pinecone、Qdrant)、各大 LLM 提供商、嵌入器与 LangChain/LlamaIndex 集成,并能处理 Cypher 的 SEARCH 等新特性,方便把图数据作为上下文喂给模型。

▸ 展开 SKILL.md 英文原文

Build GraphRAG retrieval pipelines on Neo4j using the neo4j-graphrag Python package (v1.16.0+). Covers retriever selection (VectorRetriever, HybridRetriever, VectorCypherRetriever, HybridCypherRetriever, Text2CypherRetriever, ToolsRetriever), external vector DB retrievers (Weaviate, Pinecone, Qdrant), retrieval_query Cypher fragments, query_params, filters, GraphRAG pipeline wiring (GraphRAG + LLM + prompt), all LLM providers (OpenAI, Anthropic, VertexAI, Bedrock, Cohere, Mistral, Ollama), embedder setup, index creation, token usage tracking, Cypher 25 SEARCH clause, and LangChain/LlamaIndex integration. Does NOT handle KG construction — use neo4j-document-import-skill. Does NOT handle plain vector search — use neo4j-vector-index-skill. Does NOT handle GDS analytics — use neo4j-gds-skill. Does NOT handle agent memory — use neo4j-agent-memory-skill.

数据与抓取GraphRAG检索增强向量检索通用
98
Stars
35
Forks
29
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-graphrag-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-graphrag-skill/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Neo4j GraphRAG Skill

## When to Use

- Building GraphRAG retrieval pipelines with `neo4j-graphrag` Python package
- Choosing between VectorRetriever, HybridRetriever, VectorCypherRetriever, HybridCypherRetriever
- Writing `retrieval_query` Cypher fragments for graph-augmented context
- Wiring retriever + LLM into a `GraphRAG` pipeline
- Using LLM-routed multi-retriever with `ToolsRetriever`
- Debugging low retrieval quality
- Integrating Neo4j with LangChain, LlamaIndex, or Haystack

## When NOT to Use

- **KG construction from documents** → `neo4j-document-import-skill`
- **Plain vector/semantic search without graph traversal** → `neo4j-vector-index-skill`
- **Hybrid search that combines
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有