From eda141e6b053723c0cbc7b1121770a24cbe8dad1 Mon Sep 17 00:00:00 2001 From: dongjiang Date: Mon, 6 Jul 2026 18:41:33 +0800 Subject: [PATCH 1/2] update domux blog Signed-off-by: dongjiang --- src/data/post/domux-smart-home-command-model.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/post/domux-smart-home-command-model.md b/src/data/post/domux-smart-home-command-model.md index a8e78c7..90ba648 100644 --- a/src/data/post/domux-smart-home-command-model.md +++ b/src/data/post/domux-smart-home-command-model.md @@ -56,7 +56,7 @@ Domux **不依赖固定的设备白名单**。模型通过语义理解来处理 对于包含多个动作的复合指令,Domux 会输出多行槽位: ``` -输入:打开二楼主卧的主灯,亮度 80%,色温 4000K,颜色蓝色,模式阅读 +输入:Turn on the main light in the master bedroom on the second floor, set brightness to 80%, color temperature to 4000K, color to blue, and switch to reading mode 输出: turnOn|Light|*|*|*|Master Bedroom|Second Floor @@ -68,7 +68,7 @@ set|Light|mode|Reading|*|Master Bedroom|Second Floor ### 模糊指令处理 -对于没有明确数值的调整指令(如"调亮一点"、"温度调低一些"),模型会输出 `adjustUp` 或 `adjustDown`,值字段留空(`*`),由下游系统根据当前状态决定调整幅度。 +对于没有明确数值的调整指令(如"brighten it up a little"、"lower the temperature a bit"),模型会输出 `adjustUp` 或 `adjustDown`,值字段留空(`*`),由下游系统根据当前状态决定调整幅度。 ## 性能评测 @@ -122,7 +122,7 @@ client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY") response = client.chat.completions.create( model="domux", - messages=[{"role": "user", "content": "把客厅灯调到 80% 亮度"}], + messages=[{"role": "user", "content": "Set the living room light brightness to 80%"}], temperature=0.0 ) print(response.choices[0].message.content) From 363203a5aef6ecdf86bd16d8dec30d88c298c860 Mon Sep 17 00:00:00 2001 From: dongjiang Date: Tue, 7 Jul 2026 14:51:46 +0800 Subject: [PATCH 2/2] Update src/data/post/domux-smart-home-command-model.md Signed-off-by: dongjiang Signed-off-by: dongjiang --- src/data/post/domux-smart-home-command-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/post/domux-smart-home-command-model.md b/src/data/post/domux-smart-home-command-model.md index 90ba648..3ae700f 100644 --- a/src/data/post/domux-smart-home-command-model.md +++ b/src/data/post/domux-smart-home-command-model.md @@ -68,7 +68,7 @@ set|Light|mode|Reading|*|Master Bedroom|Second Floor ### 模糊指令处理 -对于没有明确数值的调整指令(如"brighten it up a little"、"lower the temperature a bit"),模型会输出 `adjustUp` 或 `adjustDown`,值字段留空(`*`),由下游系统根据当前状态决定调整幅度。 +对于没有明确数值的调整指令(如"调亮一点"、"温度调低一些"),模型会输出 `adjustUp` 或 `adjustDown`,值字段留空(`*`),由下游系统根据当前状态决定调整幅度。 ## 性能评测