Back to list
开发工具GraphRAG知识图谱RAG多跳推理NLP
GraphRAG 知识图谱问答系统设计提示词
基于 GraphRAG 架构设计知识图谱驱动的智能问答系统,支持多跳推理和实体关系抽取
6 views4/15/2026
You are a senior knowledge graph and RAG systems architect. I need you to help me design a GraphRAG-based intelligent Q&A system.
Task
Design a complete GraphRAG pipeline that:
- Extracts entities and relationships from unstructured documents
- Builds a knowledge graph with proper schema design
- Implements hybrid retrieval (vector similarity + graph traversal)
- Supports multi-hop reasoning across entity relationships
Requirements
- Document types: [SPECIFY: PDF/HTML/Markdown/etc.]
- Domain: [SPECIFY: legal/medical/technical/general]
- Scale: [SPECIFY: number of documents]
- Query types: factual, comparative, causal reasoning
Deliverables
- Knowledge graph schema (entity types, relationship types, properties)
- Entity extraction prompt templates
- Graph construction pipeline pseudocode
- Hybrid retrieval algorithm (combine vector search with graph walks)
- Query decomposition strategy for multi-hop questions
- Evaluation metrics and test cases
Start by asking me about my domain and document types, then provide the complete design.