fix(platform): 汇总知识库问答与图表展示修复
This commit is contained in:
1 parent
9838b77441
commit
e7ff6bc2dd
41 files changed
+2100
-795
No files matched your search
@@ -12,6 +12,12 @@ describe('isStrongLeaveIntent', () => {
|
||||
// 断言:规则咨询不应触发本地请假表单,应继续走 Dify 问答。
|
||||
expect(isStrongLeaveIntent('年假可以按照小时请假吗?')).toBe(false);
|
||||
expect(isStrongLeaveIntent('怎么请年假?年假可以按照小时请假吗?')).toBe(false);
|
||||
// 断言:扣薪/薪资计算属于知识库制度问答,不应弹出请假申请表单。
|
||||
expect(isStrongLeaveIntent('请假扣多少薪资')).toBe(false);
|
||||
expect(isStrongLeaveIntent('请假如何扣除薪资')).toBe(false);
|
||||
expect(isStrongLeaveIntent('请病假怎么扣钱')).toBe(false);
|
||||
expect(isStrongLeaveIntent('请假扣多少钱,计算公式是什么')).toBe(false);
|
||||
expect(isStrongLeaveIntent('薪资福利中的请假扣款怎么算')).toBe(false);
|
||||
});
|
||||
|
||||
it('保留强请假意图触发表单', () => {
|
||||
|
||||
Reference in new issue
Block a user