GraphRAG 知识图谱问答系统设计提示词
基于 GraphRAG 架构设计知识图谱驱动的智能问答系统,支持多跳推理和实体关系抽取
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: 1. Extracts entities and relationships from unstructured documents 2. Builds a knowledge graph with proper schema design 3. Implements hybrid retrieval (vector similarity + graph traversal) 4. 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 1. Knowledge graph schema (entity types, relationship types, properties) 2. Entity extraction prompt templates 3. Graph construction pipeline pseudocode 4. Hybrid retrieval algorithm (combine vector search with graph walks) 5. Query decomposition strategy for multi-hop questions 6. Evaluation metrics and test cases Start by asking me about my domain and document types, then provide the complete design.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



