Building automation increasingly requires edge systems that can interpret ambiguous, multilingual, and context-dependent requests while checking structured outputs before device dispatch. We present SmartIntent, a serverless edge-intelligence architecture combining local large language model (LLM) intent services, device-state aggregation, a context-grounded JSON interface, deterministic pre-dispatch checks, orchestration, and device microservices. We adapt two compact LLMs with LoRA and evaluate them against compact, medium, and large local models and remote API baselines on a 2,000-instance Chinese-English-French test set. We distinguish offline structured-intent metrics from deployment-level validity, latency, and energy. The strongest adapted model, Qwen3.5-4B+LoRA, improves over its base model by 22.8, 20.9, and 13.1 percentage points in clarification handling, device identification, and action-parameter correctness, respectively. It matches or exceeds Qwen3.6-27B in format compliance and clarification handling and remains 1.0 and 1.9 percentage points below it in device and action-parameter correctness, respectively. In a local K3s/Knative deployment, it improves valid-output rate over its base model by 10.0--14.9 percentage points and reduces baseline-adjusted run-level energy by 5.2--18.4%, with a latency increase of 10.9--16.6%. For Qwen3.5-4B+LoRA, thinking mode adds at most 1.6 percentage points to output validity but increases latency by 58.2--118.2% and energy by 78.5--152.2%. These results show that compact local LLM services with deterministic output checks can support structured intent generation for execution-oriented building automation under controlled edge-deployment conditions while exposing clear validity-latency-energy trade-offs.
翻译:暂无翻译