refactor(server): optimize KB retrieval and voice context

This commit is contained in:
User
2026-03-31 09:46:40 +08:00
parent 56940676f6
commit 5b824cd16a
15 changed files with 3135 additions and 143 deletions

View File

@@ -173,6 +173,27 @@ const PRODUCT_ENTITY_KEYWORDS = [
'NutriSunny',
'Omega',
'Young Care',
'骨骼健',
'顾心',
'舒采健',
'衡醇饮',
'小粉C',
'小粉',
'异黄酮',
'Isoflavon',
'眼霜',
'Eye Cream',
'洁面',
'洁面乳',
'爽肤水',
'Tonic',
'餐代餐',
'代餐奶昔',
'美白霜',
'修护膜',
'Antioxy',
'Apple Antioxy',
'苹果细胞抗氧素',
];
const BUSINESS_ENTITY_KEYWORDS = [
@@ -375,7 +396,7 @@ const ROUTE_TOPIC_KEYWORDS = [
'有许可证吗',
// 好转反应/副作用
'好转反应',
'整反应',
'整反应',
'排毒反应',
'副作用',
'不良反应',
@@ -826,7 +847,7 @@ const FAQ_ROUTE_KEYWORDS = uniqueKeywords([
'有毒吗',
// 好转反应/副作用
'好转反应',
'整反应',
'整反应',
'排毒反应',
'副作用',
'不良反应',