LlamaIndex 教程:自定义属性图谱索引以提升 GraphRAG 准确率
Customizing property graph index in LlamaIndex
AI 导读Neo4j 客座教程讲解如何在 LlamaIndex 中自定义属性图谱索引,用 SchemaLLMPathExtractor 做模式引导抽取、用文本嵌入加编辑距离做实体去重,并实现先识别查询实体再分别执行 VectorContextRetriever 的自定义检索器。示例使用 250 篇新闻文章和 Neo4j 图存储,最后用自定义检索器完成问答回流,代码托管在 GitHub。
来源:LlamaIndex:产品、工程与评测 · llamaindex.ai