模板 / flowchart

聊天机器人对话流程

意图识别流程,置信度不足时回退转接人工客服。

在 Studio 中打开

预览

Mermaid 11 渲染器

正在渲染预览...

Mermaid 源码

flowchart

flowchart TD
    msg[User message] --> nlu[Intent detection]
    nlu --> conf{Confidence above threshold?}
    conf -->|yes| intent{Matched intent}
    conf -->|no| fallback[Clarifying question]
    fallback --> msg
    intent -->|FAQ| answer[Return answer]
    intent -->|order status| lookup[Look up order]
    intent -->|unresolved| human[Hand off to human agent]

更多模板