diff --git a/addons/official/view/web/official_case_show/list.html b/addons/official/view/web/official_case_show/list.html index a0dcdc2..df2a6b7 100644 --- a/addons/official/view/web/official_case_show/list.html +++ b/addons/official/view/web/official_case_show/list.html @@ -70,7 +70,7 @@
架构分层: 微服务集群 数据治理: 主从读写分离 - 交易对账: 双向幂等校验 + 交易对账: 防重复扣款与对账
@@ -93,7 +93,7 @@
- 已通过客户信息技术中心联合终验,核心业务链路实现全流程闭环协同 + 已通过客户信息技术中心联合终验,核心业务链路实现全流程高效协同
diff --git a/addons/official/view/web/official_home/index.html b/addons/official/view/web/official_home/index.html index 4e54873..76ea022 100644 --- a/addons/official/view/web/official_home/index.html +++ b/addons/official/view/web/official_home/index.html @@ -119,8 +119,8 @@
-
向量知识库
-
私域 RAG 多路检索与重排
+
企业知识库
+
精准检索与标注原文出处
人机协同
@@ -168,8 +168,8 @@
商城 / 收银 / 进销存 / SaaS
-
高并发治理
-
分布式事务与双向幂等校验
+
防重复扣款
+
分布式事务与数据一致性
软硬件协同
@@ -274,7 +274,7 @@

diff --git a/addons/official/view/web/official_home/index_e.html b/addons/official/view/web/official_home/index_e.html index 3a3c729..198519e 100644 --- a/addons/official/view/web/official_home/index_e.html +++ b/addons/official/view/web/official_home/index_e.html @@ -185,8 +185,8 @@
商城/收银/ERP/SaaS
-
高并发
-
分布式事务与幂等
+
防重复扣款
+
数据对账与一致性
软硬一体
@@ -271,7 +271,7 @@

diff --git a/addons/official/view/web/official_home/single.html b/addons/official/view/web/official_home/single.html index caf5bd2..242dbf8 100644 --- a/addons/official/view/web/official_home/single.html +++ b/addons/official/view/web/official_home/single.html @@ -239,7 +239,7 @@ ISO9001质量管理体系认证

ISO9001:2015 质量管理体系认证

-

参照 ISO9001 质量管理体系规范 · 全生命周期敏捷研发与质量交付闭环

+

参照 ISO9001 质量管理体系规范 · 全生命周期敏捷研发与严格质量验收交付

体系
diff --git a/addons/official/view/web/official_product/product_page.html b/addons/official/view/web/official_product/product_page.html index bc1e4c3..c63e3a5 100644 --- a/addons/official/view/web/official_product/product_page.html +++ b/addons/official/view/web/official_product/product_page.html @@ -37,7 +37,7 @@

四大成熟商业系统 · 支撑全渠道业务流转与统一结算

- 模块化、松耦合的高可用架构设计,既可独立开箱即用,亦可无缝组合成全链路商业数字闭环。 + 模块化、松耦合的高可用架构设计,既可单独开箱即用,也可组合搭建一体化商业经营系统。

diff --git a/addons/official/view/web/official_product/service_agent.html b/addons/official/view/web/official_product/service_agent.html index ec6f3f3..7a20e56 100644 --- a/addons/official/view/web/official_product/service_agent.html +++ b/addons/official/view/web/official_product/service_agent.html @@ -53,12 +53,12 @@

企业私域 RAG 知识库工程

- 整合政企政策规章、技术图纸、行业标准与制度文档,基于向量切块与混合召回,实现毫秒级精准检索与答案证据溯源。 + 整合企业政策规章、操作手册、业务规范与制度文档,实现精准检索问答,回答自动标注原文出处,有据可依。

- 混合召回 + 精准问答 向量检索 - 出处溯源 + 标注原文出处
@@ -179,7 +179,7 @@ 实施流程 IMPLEMENTATION PIPELINE -

六步闭环落地 · 确保智能体不仅能聊更能办成事

+

六步规范实施 · 让智能体真正帮企业办成事

我们以严谨的工程思维打造知识管线,确保智能体输出准确可靠、符合企业规范。

@@ -317,7 +317,7 @@

Q3: 大模型常常会有“胡说八道”(幻觉)现象,纳海川如何保障答复准确?

- 我们采用严格的 RAG 混合检索与强提示护栏(Guardrails)机制:智能体必须基于召回的私域文献证据段落回答,并在输出时标注明确的知识出处与原文段落。未在知识库中找到事实依据时,明确如实提示“未检索到相关规定”,杜绝凭空臆造。 + 我们采用严格的 RAG 混合检索与强提示护栏机制:智能体必须基于检索到的企业资料段落作答,并在输出时标注原文出处与对应段落。未在知识库中找到依据时,明确如实提示“未检索到相关规定”,杜绝凭空臆造。

@@ -328,7 +328,7 @@

- 让专有 AI 智能体深度融入您的业务体系 + 打造懂您业务的企业专属 AI 智能体

预约纳海川 AI 技术专家,携带您的实际业务文档体验内网智能体 PoC 原型检索效果。 diff --git a/addons/official/view/web/official_product/service_app.html b/addons/official/view/web/official_product/service_app.html index c49ab50..93cd14c 100644 --- a/addons/official/view/web/official_product/service_app.html +++ b/addons/official/view/web/official_product/service_app.html @@ -75,7 +75,7 @@

微信支付 企业微信API - 私域闭环 + 客户沉淀
@@ -126,7 +126,7 @@

高保真交互与苛刻的工程性能指标

- 我们拒绝卡顿与发热,坚持用工匠精神打磨每一个转场动效与弱网兜底逻辑。 + 我们针对不同机型与网络环境进行细致优化,确保操作流畅不卡顿。

diff --git a/addons/official/view/web/official_product/service_page.html b/addons/official/view/web/official_product/service_page.html index de63d66..544e2cf 100644 --- a/addons/official/view/web/official_product/service_page.html +++ b/addons/official/view/web/official_product/service_page.html @@ -234,7 +234,7 @@
专有知识库检索机制 - 多路向量重排召回 + 精准语义匹配检索
规章制度溯源依据 diff --git a/addons/official/view/web/official_product/service_software.html b/addons/official/view/web/official_product/service_software.html index da74cf8..791f929 100644 --- a/addons/official/view/web/official_product/service_software.html +++ b/addons/official/view/web/official_product/service_software.html @@ -179,7 +179,7 @@ 研发规范 DELIVERY LIFECYCLE
-

六步标准工程化闭环 · 每一个节点皆可追溯

+

六步标准研发交付流程 · 每一个节点皆可追溯

严格遵循 CMMI 软件成熟度与敏捷工程规范,杜绝扯皮与需求偏离,保障项目如期保质投产。

@@ -328,7 +328,7 @@

- 准备开启您的企业级定制软件工程? + 需要定制开发软件系统?欢迎随时沟通

联系纳海川资深架构师,获得针对您企业实际业务场景的技术架构评估方案与详细实施计划。 diff --git a/tests/run_tests.py b/tests/run_tests.py index 6d713f7..f610dc2 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -288,6 +288,15 @@ def test_concise_showcase_images_suite(): res.assert_true(test_result.wasSuccessful(), f"配图简洁性与去文字化断言全部通过 (共 {test_result.testsRun} 项)") return res.summary() +def test_plain_and_concise_copywriting_suite(): + res = TestResult("通俗易懂与去AI味去啰嗦专项测试 (PlainAndConciseCopywriting)") + from tests.test_plain_and_concise_copywriting import TestPlainAndConciseCopywriting + suite = unittest.TestLoader().loadTestsFromTestCase(TestPlainAndConciseCopywriting) + runner = unittest.TextTestRunner(verbosity=0) + test_result = runner.run(suite) + res.assert_true(test_result.wasSuccessful(), f"通俗易懂与去AI味去啰嗦断言全部通过 (共 {test_result.testsRun} 项)") + return res.summary() + def main(): import unittest results = [ @@ -304,7 +313,8 @@ def main(): test_homepage_button_links_suite(), test_journalism_and_articles_suite(), test_dedicated_service_pages_suite(), - test_concise_showcase_images_suite() + test_concise_showcase_images_suite(), + test_plain_and_concise_copywriting_suite() ] sys.exit(0 if all(results) else 1) diff --git a/tests/test_plain_and_concise_copywriting.py b/tests/test_plain_and_concise_copywriting.py new file mode 100644 index 0000000..bf5c96c --- /dev/null +++ b/tests/test_plain_and_concise_copywriting.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +""" +通俗易懂、去AI味、去啰嗦、面向客户与访客专项测试 (Plain and Concise Copywriting Test) +严格遵循 TDD 模式: +1. 严禁使用典型 AI/大厂虚词黑话(如“闭环”、“工匠精神打磨”、“准备开启您的...”等); +2. 确保面向客户与访客,使用大白话、实在话(如防重复扣款、源码交付、内网部署数据不泄露、标注文档原文); +3. 确保各个独立页面文案短小精悍、不啰嗦、讲人话。 +""" +import os +import unittest + +ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + +class TestPlainAndConciseCopywriting(unittest.TestCase): + + def setUp(self): + self.files = { + 'index': os.path.join(ROOT_DIR, 'addons/official/view/web/official_home/index.html'), + 'index_e': os.path.join(ROOT_DIR, 'addons/official/view/web/official_home/index_e.html'), + 'service_page': os.path.join(ROOT_DIR, 'addons/official/view/web/official_product/service_page.html'), + 'service_software': os.path.join(ROOT_DIR, 'addons/official/view/web/official_product/service_software.html'), + 'service_app': os.path.join(ROOT_DIR, 'addons/official/view/web/official_product/service_app.html'), + 'service_agent': os.path.join(ROOT_DIR, 'addons/official/view/web/official_product/service_agent.html'), + 'product_page': os.path.join(ROOT_DIR, 'addons/official/view/web/official_product/product_page.html'), + 'cases_page': os.path.join(ROOT_DIR, 'addons/official/view/web/official_case_show/list.html'), + 'cases_e': os.path.join(ROOT_DIR, 'addons/official/view/web/official_case_show/list_e.html'), + 'about_page': os.path.join(ROOT_DIR, 'addons/official/view/web/official_home/single.html'), + 'about_e': os.path.join(ROOT_DIR, 'addons/official/view/web/official_home/single_e.html'), + 'contact_page': os.path.join(ROOT_DIR, 'addons/official/view/web/official_online_message/list.html'), + 'contact_e': os.path.join(ROOT_DIR, 'addons/official/view/web/official_online_message/list_e.html'), + 'nav_pc': os.path.join(ROOT_DIR, 'addons/official/view/web/official_common/pc/nav.html'), + 'footer_pc': os.path.join(ROOT_DIR, 'addons/official/view/web/official_common/pc/footer.html'), + } + + self.contents = {} + for key, path in self.files.items(): + if os.path.exists(path): + with open(path, 'r', encoding='utf-8') as f: + self.contents[key] = f.read() + else: + self.contents[key] = '' + + self.all_text = "\n".join(self.contents.values()) + + def test_forbid_ai_jargon_and_cliches(self): + """严格杜绝 AI/互联网黑话与套话口癖""" + forbidden_jargon = [ + '闭环', # 典型大厂/AI黑话(如“业务闭环”、“闭环协同”、“交付闭环”) + '工匠精神打磨', # 空洞煽情修饰 + '准备开启您的', # 典型 AI 祈使反问句 + '矩阵赋能', # AI 常用生造词 + '双向幂等校验', # 过于晦涩的技术术语,应通俗化为防重复扣款/防重复提交 + '多路向量重排召回',# 技术晦涩,应通俗化说明知识库检索精准 + ] + for jargon in forbidden_jargon: + self.assertNotIn(jargon, self.all_text, f"全站文案仍包含黑话或AI套话: '{jargon}'") + + def test_customer_friendly_plain_language(self): + """面向客户与访客的大白话表达:突出价值与保障""" + # 首页:通俗的防重复扣款与数据安全 + self.assertIn('防重复扣款', self.contents['index'], "首页产品指标应使用客户一目了然的'防重复扣款'") + + # 智能体页:通俗解释 + self.assertTrue( + '拔掉外网网线' in self.contents['service_agent'] or '断网也能用' in self.contents['service_agent'], + "智能体页必须用通俗大白话解释内网安全" + ) + self.assertIn('标注原文出处', self.contents['service_agent'], "智能体页必须讲清楚回答带有出处") + + # 软件开发页:面向客户的直白 CTA + self.assertNotIn('准备开启您的企业级定制软件工程?', self.contents['service_software']) + + # APP与小程序页:通俗表述 + self.assertNotIn('私域闭环', self.contents['service_app']) + + # 产品页:开箱即用与源码买断清晰明了 + self.assertIn('成熟商业系统', self.contents['product_page']) + +if __name__ == '__main__': + unittest.main()