Posts (18)

October 14, 2026•AI

GraphRAG Global Map-Reduce Query Implementation

A code-level walkthrough of Global Map-Reduce in graphrag-ts: loading community summaries and descendant-leaf claims, approximate token batching, bounded concurrent Map calls, retries, JSON validation, and usefulness-ranked Reduce packing.

October 14, 2026•AI

GraphRAG Global Map-Reduce 查询实现

深入 graphrag-ts 的 Global Map-Reduce 查询代码,说明社区摘要与后代叶 claims 的装载、近似 token 预算分批、有界并发 Map、重试和 JSON 校验,以及按有用性跳过装入 Reduce 上下文的实现。

October 14, 2026•AI

GraphRAG Incremental Build in TypeScript: Diffing, Updates, and Pruning

A source-based walkthrough of incremental GraphRAG builds in graphrag-ts: title and SHA-256 diffing, Markdown section-parent matching, update ordering, explicit deletion semantics, and edge-weight accumulation.

October 14, 2026•AI

GraphRAG 增量构建实现:差异检测、更新与清理

从 graphrag-ts 源码追踪 GraphRAG 增量构建,解释标题与 SHA-256 内容差异判定、Markdown 分节父记录归并、更新时的社区检测顺序、显式删除语义和边权累加边界。

October 14, 2026•AI

GraphRAG Hybrid Retrieval and Evidence Grounding in TypeScript

A source-based guide to local and global GraphRAG retrieval in graphrag-ts, covering entity and topology recall, hybrid vector and keyword evidence, RRF community ranking, LLM filtering, and token-budgeted global Map-Reduce with retries.

October 14, 2026•AI

GraphRAG TypeScript Indexing Pipeline and Incremental Updates

A source-based walkthrough of graphrag-ts indexing: adaptive chunking, structured LLM extraction and fallback, weighted edge aggregation, recursive Leiden communities, summary persistence, and content-hash-based incremental updates.

October 14, 2026•AI

GraphRAG TypeScript 索引管道与增量更新

结合 graphrag-ts 源码拆解 GraphRAG 索引实现:自动选择文本切分模式、LLM 结构化抽取与失败回退、加权边聚合、递归 Leiden 社区层级、社区摘要持久化,以及基于内容哈希的增量更新。

October 14, 2026•AI

GraphRAG 混合检索与证据溯源实现

基于 graphrag-ts 检索源码解析 local 与 global GraphRAG 查询:实体和图拓扑召回、向量与关键词混合证据、RRF 社区排序、LLM 过滤,以及带 token 预算和失败重试的全局 Map-Reduce。

October 3, 2026•AI

GraphRAG Global Search Map-Reduce Explained

A detailed guide to Microsoft GraphRAG global search Map-Reduce, explaining how hierarchical community summaries are shuffled and split by token budget, mapped into scored intermediate answers, ranked, and reduced into a corpus-level response.

October 3, 2026•AI

GraphRAG 全局检索 Map-Reduce 详解

深入解析 Microsoft GraphRAG 全局检索中的 Map-Reduce 流程,说明如何将层级社区摘要按 token 预算分块,通过 LLM 并行生成带有用性评分的中间答案,再排序筛选并综合为全局答案。

July 23, 2026•AI

GraphRAG 里的“社区”概念

深度解读微软 GraphRAG 核心概念“社区(Community)”的理论本质与工程实践,详解基于 Leiden 算法的高内聚子图划分、层级社区架构(顶层/中层/叶子社区)、社区摘要提取与全局答案聚合管道,并附带 TypeScript 伪代码与 Obsidian 概念图谱。

July 23, 2026•AI

Understanding the Community Concept in GraphRAG

An intuitive and in-depth conceptual guide to the "Community" in Microsoft GraphRAG, explaining graph community detection via Leiden algorithm, hierarchical community trees (root/intermediate/leaf), query-focused community summarization, and candidate answer aggregation with TypeScript examples.

July 22, 2026•AI

GraphRAG Retrieval Implementation Guide

A complete implementation guide for the GraphRAG query and retrieval phase, detailing query intent parsing, multi-channel entity retrieval with Reciprocal Rank Fusion (RRF), neighbor expansion, multi-dimensional community scoring, LLM filtering, and final global answer synthesis.

July 22, 2026•AI

GraphRAG 检索实现说明

详解 GraphRAG 索引构建完成后的检索阶段全流程实现,涵盖查询意图解析、多路实体召回与 RRF 倒数排名融合、邻居扩展、社区映射与多维打分排序(语义相似度/实体重叠率/图结构得分),以及 LLM 社区过滤与全局答案生成。

July 21, 2026•AI

GraphRAG Multi-Document Input Processing Architecture and Directory Structure

An in-depth architecture guide on Microsoft GraphRAG multi-document input processing and indexing pipeline, covering multi-format ingestion (TXT/CSV/JSON/Parquet), cross-document chunking, entity resolution deduplication, standard project directory structure, and incremental update workflows.

July 21, 2026•AI

GraphRAG 多文件输入处理架构与目录结构

系统剖析微软 GraphRAG 的多文件输入处理架构与全局索引管道设计,涵盖 TXT/CSV/JSON/Parquet 等多源格式加载、基于句界的分块与跨文档实体去重融合、标准工程目录结构最佳实践及增量更新机制。

July 20, 2026•AI

GraphRAG PostgreSQL + TypeScript Implementation Design

A comprehensive engineering guide on implementing Microsoft GraphRAG with PostgreSQL and TypeScript, covering relation edge weight calculations, community detection pipelines, hierarchical community summarization, and complete PostgreSQL DDL schemas with TypeScript pseudo-code.

July 20, 2026•AI

GraphRAG PostgreSQL + TypeScript 实现设计

深入探讨微软 GraphRAG 在 PostgreSQL 与 TypeScript 技术栈中的工程落地实践,详细解析关系边权重计算公式、图谱与社区检测建模、社区摘要与全局答案生成管道,并提供完整的 PostgreSQL 表结构 DDL 与 TypeScript 核心伪代码实现。