feat: harden orchestrator execution runtime
This commit is contained in:
@@ -140,6 +140,17 @@ test('isPageDataIntent matches survey and backend keywords', () => {
|
||||
assert.equal(isPageDataIntent('帮我做一个苏州攻略页面'), false);
|
||||
});
|
||||
|
||||
test('isPageDataIntent treats storefront ordering plus product administration as Page Data', () => {
|
||||
assert.equal(
|
||||
isPageDataIntent('我要做一个页面,里面可以下单,后台可以上架产品'),
|
||||
true,
|
||||
);
|
||||
assert.equal(
|
||||
isPageDataIntent('做一个后台上架和管理库存的商城,顾客可以购物车下单'),
|
||||
true,
|
||||
);
|
||||
});
|
||||
|
||||
test('isPageDataIntent matches implicit interactive sticky-note app requests', () => {
|
||||
const text = '帮我设计一个便签提醒,可以写便签提交,时间轴来显示';
|
||||
assert.equal(isPageDataIntent(text), true);
|
||||
|
||||
Reference in New Issue
Block a user