feat: add LLM-guided semantic rechunking for knowledge compilation (#17546)

This commit is contained in:
buua436
2026-07-31 13:33:30 +08:00
committed by GitHub
parent 0969c04eca
commit 44e13d1cb6
20 changed files with 827 additions and 117 deletions

View File

@@ -2,6 +2,12 @@ kind: session_graph
display_name: Session Graph — Knowledge graph from conversations
config:
kind: knowledge_graph
rechunk_rules: |
- Group only adjacent source chunks that discuss the same conversation topic or entity.
- Preserve source order: use every source chunk exactly once; do not omit, overlap, duplicate, or reorder chunks.
- Split when the speaker, topic, intent, or semantic focus changes.
- Keep self-contained tables, lists, figures, and code blocks intact; do not split their internal structure.
- Do not invent, rewrite, or return source text; return only chunk grouping metadata.
entity:
description: >-
You are a robust entity and fact extractor for conversational data.