neo4j-graphrag-skill
支持多种检索器与外部向量库,便于把图信息纳入 RAG
可能需外部向量库与 API 密钥,注意凭证和数据外泄风险
使用 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.
帮我安装这个 skill:https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-graphrag-skill/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/main/neo4j-graphrag-skill/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