返回顶部
n

nocobase-ai-employeeNocoBase AI员工

Guide AI to create and manage NocoBase AI employees — chatbot assistants with page integration

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
169
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

nocobase-ai-employee

NocoBase AI员工管理

您正在指导用户在NocoBase中创建和管理AI员工(聊天机器人助手)。

关键概念

AI员工

AI员工是一个配置了以下内容的聊天机器人助手:
  • - 用户名(主键):唯一标识符,例如 am-asset-keeper
  • 昵称:向用户显示的展示名称
  • 关于:定义角色、数据范围和行为规则的系统提示词
  • 技能:工具绑定(查询、计数、表单填写、工作流调用)
  • 模型设置:LLM配置(服务商、模型、温度)

页面集成

AI员工以两种方式出现在页面上:
  1. 1. 浮动头像(AIEmployeeShortcutListModel + AIEmployeeShortcutModel):页面右上角的圆形头像按钮
  2. 操作栏按钮(AIEmployeeButtonModel):表格/表单操作栏中的AI按钮

工作流程

第一阶段:创建AI员工

nbcreateai_employee(my-helper, 助手, 通用助手,
nocobase-015-male, 一行描述,
包含角色、数据范围、行为规则的完整系统提示词...,
欢迎消息...,
[{name:dataSource-dataSourceQuery,autoCall:true}])

第二阶段:添加页面快捷方式(浮动头像)

nbaishortcut(tab_uid, [
{username: my-helper, tasks: [
{title: 快速查询, message: {user: 帮我查询数据}, autoSend: false}
]}
])

第三阶段:添加区块按钮

nbaibutton(table_uid, my-helper, [
{title: 分析数据, message: {user: 分析当前数据}, autoSend: false}
])

可用技能(工具绑定)

工具名称描述自动调用
dataModeling-getCollectionNames发现表名true
dataModeling-getCollectionMetadata
获取字段定义 | true | | dataSource-dataSourceQuery | 查询数据库 | true | | dataSource-dataSourceCounting | 计数记录 | true | | frontend-formFiller | 自动填写表单 | true | | workflowCaller- | 自定义工作流工具 | false |

头像ID

常用头像ID:nocobase-001-male 至 nocobase-060-male,
nocobase-001-female 至 nocobase-060-female。

模型设置

默认LLM配置:
json
{
llmService: gemini,
model: models/gemini-2.5-flash,
temperature: 0.7,
topP: 1,
timeout: 60000,
maxRetries: 1,
responseFormat: text
}

常见调整:

  • - temperature: 0.3 — 更确定性,适合数据查询
  • temperature: 0.9 — 更具创造性,适合写作/建议
  • timeout: 120000 — 复杂多步骤查询的更长超时时间
  • responseFormat: markdown — 用于格式化输出

页面集成 — 完整示例

浮动头像(快捷方式)

在页面上放置AI员工头像以便快速访问:

nbaishortcut(tab_uid, [
{username: my-helper, tasks: [
{title: 快速查询, message: {user: 帮我查一下最新数据}, autoSend: false},
{title: 生成报告, message: {user: 生成本月汇总报表}, autoSend: false}
]}
])

同一页面上的多个员工:

nbaishortcut(tab_uid, [
{username: data-analyst, tasks: [...]},
{username: form-helper, tasks: [...]}
])

区块按钮

在表格的操作栏中添加AI操作按钮:

nbaibutton(table_uid, my-helper, [
{title: 分析选中项, message: {user: 分析当前选中的记录}, autoSend: false}
])

最佳实践

  1. 1. 角色聚焦:每个AI员工覆盖一个业务领域
  2. 渐进式:从基础查询工具开始,后续添加工作流工具
  3. 中文优先:在系统提示词中使用{{$nLang}}实现语言感知
  4. 数据范围:在系统提示词中明确列出可访问的表
  5. 预设任务:为快捷方式和按钮添加1-2个快速启动任务
  6. 系统提示词结构:角色 → 数据范围(表名) → 行为规则 → 输出格式
  7. 技能选择:对于数据导向的员工,从dataSource-dataSourceQuery + dataModeling-getCollectionMetadata开始

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aicreat-1776356042 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aicreat-1776356042 技能

通过命令行安装

skillhub install aicreat-1776356042

下载

⬇ 下载 nocobase-ai-employee v1.0.0(免费)

文件大小: 2.49 KB | 发布时间: 2026-4-17 14:02

v1.0.0 最新 2026-4-17 14:02
Initial release of NocoBase AI Employee Management skill.

- Guides users to create and manage AI employees (chatbot assistants) in NocoBase.
- Supports configuring AI employees with roles, data scopes, LLM settings, and tool bindings.
- Enables page integration via floating avatar shortcuts and action bar buttons.
- Provides detailed workflows, example API calls, and best practices for deploying AI employees.
- Lists available tools, avatar options, and LLM configuration tips for customized deployment.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部