forked from wangziqi/gongxue-base
37 lines
1.3 KiB
TypeScript
37 lines
1.3 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: ['查找本月未支付账单', '查询张同学最近的账单'],
|
|
},
|
|
];
|
|
|
|
export const AGENT_SKILL_KEYS = new Set(AGENT_SKILLS.map((skill) => skill.key));
|