Files
nexus/wiki/concepts/TopicRouting.md
2026-04-27 12:03:03 +08:00

1.5 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
TopicRouting concept
routing
context
multi-channel
multi-channel-assistant
2026-04-27

Definition

Topic Routing话题路由是一种通过消息平台的话题/线程Topic机制在单一入口内实现多上下文隔离的设计模式。不同话题对应不同的工作流或知识域用户无需切换 app 或启动多个 bot只需要在对应话题中发起请求即可。

Core Mechanism

  1. 平台支持Telegram Topics、Discord Threads、Slack Channels 等都支持话题隔离
  2. 规则映射Prompt 或配置层定义"话题 → 工具/知识库/工作流"的映射规则
  3. 上下文注入AI Agent 根据当前所在话题注入对应的 system prompt 和工具集

Example: multi-channel-assistant

config      → 系统设置和调试
updates     → 状态通知和日历提醒
video-ideas → 内容创意流水线
personal-crm → 联系人查询和会面准备
earnings    → 财务追踪
knowledge-base → RAG 知识库查询

Connections