forked from wangziqi/gongxue-base
49 lines
1.7 KiB
TypeScript
49 lines
1.7 KiB
TypeScript
import type { AgentSkillDescriptor } from './agent-tool.types';
|
|
|
|
export const AGENT_SKILLS: readonly Omit<AgentSkillDescriptor, 'tools'>[] = [
|
|
{
|
|
key: 'overview',
|
|
name: '经营总览',
|
|
description: '查看当前权限范围内的学生、班级和今日考勤概览。',
|
|
examples: ['今天整体运营情况怎么样?', '帮我汇总当前学生和班级数量'],
|
|
},
|
|
{
|
|
key: 'student',
|
|
name: '学生与班级',
|
|
description: '查询学生基础信息、班级和在读人数。',
|
|
examples: ['查找姓名包含张的学生', '有哪些在读班级?'],
|
|
},
|
|
{
|
|
key: 'attendance',
|
|
name: '考勤分析',
|
|
description: '按日期和班级汇总有权限查看的考勤数据。',
|
|
examples: ['汇总今天的考勤情况', '这个月哪个班缺勤最多?'],
|
|
},
|
|
{
|
|
key: 'dormitory',
|
|
name: '宿舍管理',
|
|
description: '查询宿舍、入住数量和空余床位。',
|
|
examples: ['哪些房间还有空床?', '汇总当前宿舍入住情况'],
|
|
},
|
|
{
|
|
key: 'billing',
|
|
name: '账单查询',
|
|
description: '查询账单编号、账期、金额和状态。',
|
|
examples: ['查找本月未支付账单', '查询张同学最近的账单'],
|
|
},
|
|
{
|
|
key: 'classroom',
|
|
name: '教室与租用',
|
|
description: '查询教室信息、占用状态和租赁订单。',
|
|
examples: ['哪些教室空闲?', '本月教室租赁订单有哪些?'],
|
|
},
|
|
{
|
|
key: 'sync',
|
|
name: '同步状态',
|
|
description: '查询钉钉、企业微信等平台最近一次同步状态和排课映射进度。',
|
|
examples: ['最近一次钉钉同步是什么时候?', '同步状态正常吗?'],
|
|
},
|
|
];
|
|
|
|
export const AGENT_SKILL_KEYS = new Set(AGENT_SKILLS.map((skill) => skill.key));
|