Files
nexus/wiki/concepts/Topic-Based-Routing.md
2026-04-22 19:20:32 +08:00

1.6 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
Topic-Based Routing concept
Routing
Telegram
Multi-Context
OpenClaw
multi-channel-assistant
2026-04-22

Topic-Based Routing

Definition

Topic-Based Routing基于话题的路由是一种通过标签/话题机制将用户请求分发到不同上下文处理单元的设计模式。在 multi-channel-assistant 中,通过 Telegram Topic 实现多上下文隔离。

Mechanism

用户在不同 Telegram Topic 中发送消息OpenClaw 根据 Topic 标签识别上下文域:

Topic 处理的上下文
config 系统设置、调试
updates 日报摘要、定时提醒、日历
video-ideas 内容管线、研究
personal-crm 联系人和会议准备
earnings 财务追踪
knowledge-base 知识库存取与检索

Key Properties

  • 上下文隔离:每个 Topic 携带独立的记忆上下文,不会跨 Topic 污染
  • 单一入口:用户只需记住 Telegram 一个入口,不需要切换多个 App
  • 意图推断:通过 Topic 标签帮助 LLM 理解用户当前关注域,降低提示词复杂度

Connections