ShtukbaseStandard
包文件→ .shtukbase/packages/lenses/kit/examples/architecture.lens.md

kit/examples/architecture.lens.md

40 行, 2.8 KB.

  1. ---
  2. type: Lens
  3. title: 智能体架构
  4. icon: "🏗️"
  5. description: "谁向智能体派发任务,它们通过哪些渠道回复,从哪里获取数据,需要哪些访问权限,以及一切在哪里运行"
  6. template: canvas
  7. layout:
  8. columns: "190px 230px 270px 240px 240px 200px"
  9. stacks:
  10. - [people]
  11. - [channels, envs]
  12. - [agents]
  13. - [automations]
  14. - [integrations, access]
  15. - [parties]
  16. regions:
  17. - {id: people, title: 人员, hint: 产品中的角色, color: purple, from: /product/roles, card: {sub: false, chips: []}}
  18. - {id: channels, title: 渠道, hint: 智能体在哪里回复, color: brown, from: /product/surfaces, where: {kind: channel}, card: {chips: []}}
  19. - {id: agents, title: 智能体, color: blue, from: /product/agents, group: kind, card: {chips: [status]}}
  20. - {id: automations, title: 自动化, hint: 定期任务, color: orange, from: /product/automations, card: {sub: when, chips: []}}
  21. - {id: integrations, title: 集成, hint: 数据从哪里来, color: teal, from: /product/surfaces, where: {kind: integration}, card: {chips: []}}
  22. - {id: access, title: 访问权限, hint: 客户提供什么, color: gray, from: /deal/access, card: {sub: false, chips: [status], compact: false}}
  23. - {id: envs, title: 环境, hint: 在哪里运行, color: green, from: /ops/environments, card: {sub: host, chips: [kind, status]}}
  24. - {id: parties, title: 外部各方, color: red, from: /business/parties, linked: true, card: {sub: false, chips: [kind]}}
  25. edges:
  26. - {field: askedBy, from: agents, to: people, reverse: true, label: 派发任务, color: purple}
  27. - {field: connections, from: agents, to: channels, label: 通过……回复, color: brown}
  28. - {field: automations, from: agents, to: automations, label: 运行, color: orange}
  29. - {field: connections, from: agents, to: integrations, label: 从……取数据, color: teal}
  30. - {field: access, from: agents, to: access, label: 需要访问权限, color: gray, dash: true}
  31. - {field: notifies, from: automations, to: people, label: 通知, color: pink, dash: true}
  32. - {field: provider, to: parties, label: 提供, color: red, reverse: true}
  33. - {field: hostowner, from: envs, to: parties, label: 由……托管, color: green, dash: true}
  34. ---
  35. 由基础中的记录构建:[智能体](/product/agents.md)、[界面](/product/surfaces.md)(渠道和集成)、[自动化](/product/automations.md)、[访问权限](/deal/access.md)、[环境](/ops/environments.md)和[外部各方](/business/parties.md)。
  36. 箭头即记录中的链接字段:智能体上的 `askedBy`、`connections`、`automations`、`access`,自动化上的 `notifies`,界面上的 `provider`,环境上的 `hostowner`。若要修正这幅图,请编辑记录本身——透镜视图会重新构建。
  37. 将鼠标悬停在卡片上——只保留它的链接。点击——打开记录。