Dataset Viewer
Auto-converted to Parquet Duplicate
locale
stringclasses
6 values
messages
listlengths
3
47
meta
unknown
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "vacuum.start", "entity_id": [ "vacuum.haus_staubsauger" ] } ] } ] ], "location": null, "case": "command:i_vacuum", "verbosit...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "media_player.search_and_play", "entity_id": [ "media_player.speaker_kueche" ], "data": { "query": "Achtziger", "media_ty...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte in ganzen Sätzen und nenne die wichtigsten Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen d...
{ "cat": "timer", "gold": [ [ "timer", { "action": "start", "minutes": 2, "command": "Aktiviere die Szene Lesen" } ] ], "location": null, "case": "timer:delayed", "verbosity": "long", "groups": [ "cover.hue_color_lamp_45f1" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte in ganzen Sätzen und nenne die wichtigsten Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen d...
{ "cat": "conversation", "gold": [], "gold_last": [ [ "control", { "actions": [ { "service": "light.turn_on", "area": "Waschküche", "entity_id": [ "light.shelly1_fb97" ] } ] } ] ], "loca...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "timer", "gold": [ [ "timer", { "action": "pause", "name": "Brot" } ] ], "location": null, "case": "timer:pause", "verbosity": "medium", "groups": [ "cover.haus_alle_rolladen" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "conversation", "gold": [], "gold_last": [], "location": null, "case": "conversation:room_correct", "verbosity": "detailed", "groups": [ "light.all_lights_home" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "question", "gold": [ [ "get_state", { "domain": "binary_sensor", "area": "*", "device_class": "window" } ] ], "answer_contains": [ "Eingang Fenster", "Fenster Kinderzimmer" ], "location": null, "case": "question:windows", "verbosity": "...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "question", "gold": [ [ "get_state", { "entity_ids": [ "sensor.driveway_power" ] } ] ], "answer_contains": [ "0" ], "location": null, "case": "question:power", "verbosity": "short", "groups": [ "light.home_all_lights", "cover.all...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "unknown", "gold": [], "location": null, "case": "todo:no_list", "verbosity": "medium", "groups": [ "light.home_all_lights" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "conversation", "gold": [], "gold_last": [ [ "control", { "actions": [ { "service": "lock.unlock", "entity_id": [ "lock.home_back_door" ] } ] } ] ], "location": null, "case": "conversatio...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "unknown", "gold": [], "location": null, "case": "unknown:room", "verbosity": "medium", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "chat", "gold": [], "location": null, "case": "chat:nevermind", "verbosity": "detailed", "groups": [ "cover.home_all_covers" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte in ganzen Sätzen und nenne die wichtigsten Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen d...
{ "cat": "command", "gold": [ [ "get_state", { "domain": "media_player", "area": "*" } ] ], "location": null, "case": "music:ask_answer", "verbosity": "long", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "switch.turn_off", "entity_id": [ "switch.outdoor_irrigation" ] } ] } ] ], "location": "Werkstatt", "case": "command:i_switch",...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "question", "gold": [ [ "get_state", { "entity_ids": [ "binary_sensor.homematic_hm_3c8c" ] } ] ], "answer_contains": [ "geschlossen" ], "location": "Dachboden", "case": "question:door", "verbosity": "short", "groups": [ "cover.sonoff...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "broadcast", "gold": [ [ "broadcast", { "message": "Wir fahren in fünf Minuten los" } ] ], "location": null, "case": "broadcast", "verbosity": "detailed", "groups": [ "light.hmip_swdm_2_00b4d6f8a2c3ea7" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "command", "gold": [ [ "music_library", { "entity_id": "media_player.heizungsraum_nest_audio_heizungsraum", "media_type": "playlist" } ] ], "location": null, "case": "music:library_favorites", "verbosity": "short", "groups": [ "cover.haus_alle_rollade...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "question", "gold": [ [ "get_state", { "entity_ids": [ "alarm_control_panel.home_alarm" ] } ] ], "answer_contains": [ "scharf" ], "location": null, "case": "question:alarm", "verbosity": "short", "groups": [ "cover.home_all_covers" ...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "question", "gold": [ [ "get_time", {} ] ], "answer_contains": [ "Samstag" ], "location": "Wohnzimmer", "case": "time:weekday", "verbosity": "short", "groups": [ "light.all_lights_home" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "unknown", "gold": [], "location": null, "case": "no_areas", "verbosity": "detailed", "groups": [ "cover.all_covers_home" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "lawn_mower.dock", "entity_id": [ "lawn_mower.tz3000_f7cd5a" ] } ] } ] ], "location": null, "case": "command:i_mower", "verbo...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "todo.add_item", "entity_id": [ "todo.shopping_list" ], "data": { "item": "Mehl" } } ] } ] ],...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "unknown", "gold": [], "location": "Ankleide", "case": "unknown:missing_media_player", "verbosity": "short", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "timer", "gold": [ [ "timer", { "action": "start", "hours": 2, "command": "Schalte Werkstatt Kaffeemaschine aus" } ] ], "location": null, "case": "timer:delayed", "verbosity": "short", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte in ganzen Sätzen und nenne die wichtigsten Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen d...
{ "cat": "compound", "gold": [ [ "control", { "actions": [ { "service": "scene.turn_on", "entity_id": [ "scene.shelly1_945544" ] }, { "service": "media_player.turn_off", "entity_id": [ ...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "timer", "gold": [ [ "timer", { "action": "start", "minutes": 10, "command": "Lass das Rollo herunter" } ] ], "location": null, "case": "timer:delayed", "verbosity": "short", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "switch.turn_off", "entity_id": [ "switch.office_echo_dot_do_not_disturb" ] } ] } ] ], "location": null, "case": "command:i_dnd...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "question", "gold": [ [ "get_time", {} ] ], "answer_contains": [ "23. August" ], "location": null, "case": "time:date", "verbosity": "detailed", "groups": [ "light.alle_lichter_haus" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "todo.remove_item", "entity_id": [ "todo.shopping_list" ], "data": { "item": "Waschmittel" } } ] } ...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte in ganzen Sätzen und nenne die wichtigsten Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen d...
{ "cat": "timer", "gold": [ [ "timer", { "action": "start", "minutes": 5 } ] ], "location": "Werkstatt", "case": "timer:start", "verbosity": "long", "groups": [ "cover.zbmini_75d0d4" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "question", "gold": [ [ "get_time", {} ] ], "answer_contains": [ "Sonntag" ], "location": null, "case": "time:weekday", "verbosity": "short", "groups": [ "light.zigbee2mqtt_0x84fd27fffe68" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "conversation", "gold": [], "gold_last": [], "location": "Außenbereich", "case": "conversation:turn_check", "verbosity": "short", "groups": [ "cover.shelly1_8ad8c2" ] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "error", "gold": [ [ "control", { "actions": [ { "service": "light.turn_off", "area": "Eingang", "entity_id": [ "light.entrance_wall_lamp", "light.ledstreifen_entrance" ] } ] ...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "command", "gold": [ [ "control", { "actions": [ { "service": "alarm_control_panel.alarm_arm_away", "entity_id": [ "alarm_control_panel.home_alarm" ] } ] } ] ], "location": null, "case": "c...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "chat", "gold": [], "location": null, "case": "chat:nevermind", "verbosity": "medium", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte in ganzen Sätzen und nenne die wichtigsten Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen d...
{ "cat": "compound", "gold": [ [ "get_state", { "entity_ids": [ "light.dining_room_ledstreifen", "climate.dining_room_trv" ] } ] ], "answer_contains": [ "aus", "20,5" ], "location": "Esszimmer", "case": "compound:question", "verbosity...
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "timer", "gold": [ [ "timer", { "action": "start", "minutes": 3, "command": "Mach Aquarium Pumpe aus" } ] ], "location": null, "case": "timer:delayed", "verbosity": "medium", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte so knapp wie möglich, mit wenigen Worten.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantw...
{ "cat": "conversation", "gold": [], "gold_last": [ [ "timer", { "action": "status" } ] ], "location": null, "case": "conversation:turn_chat", "verbosity": "short", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "timer", "gold": [ [ "timer", { "action": "cancel", "name": "Gemüse" } ] ], "location": null, "case": "timer:cancel", "verbosity": "medium", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte kurz, meist in einem Satz.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu beantwortest.\nVerwen...
{ "cat": "timer", "gold": [ [ "timer", { "action": "add", "minutes": 45 } ] ], "location": null, "case": "timer:add", "verbosity": "medium", "groups": [] }
de
[ { "role": "system", "content": "Du bist der Sprachassistent eines Smart Homes mit Home Assistant. Antworte immer auf Deutsch und freundlich. Antworte ausführlich und nenne alle verfügbaren Details.\nSteuere Geräte mit dem Werkzeug control. Frage Zustände und Messwerte mit get_state ab, bevor du Fragen dazu ...
{ "cat": "timer", "gold": [ [ "timer", { "action": "start", "hours": 1, "minutes": 45, "name": "Kartoffeln" } ] ], "location": null, "case": "timer:unsupported", "verbosity": "detailed", "groups": [ "cover.alle_rolladen_haus" ] }
End of preview. Expand in Data Studio

Home Assistant Tool Calling (synthetic)

Conversations between a user and a smart-home assistant that controls Home Assistant with six tools: control (Home Assistant services such as light.turn_on, cover.close_cover, music search and playback, seeking, to-do lists), get_state (states of entities or of all devices of a domain in an area, weather with the course of the day and forecast, list items), music_library (playlists, artists, albums, tracks, stations and podcasts in the media library of a player), timer (timers of the voice device, also delayed commands), get_time and broadcast. Together they cover the built-in Assist intents of Home Assistant.

Every language has its own model, so every row carries a locale column (de, en, es, fr, it, nl). Filter by it to train a model for one language:

from datasets import load_dataset
de = load_dataset("mkenfenheuer/homeassistant-tool-calling", split="train").filter(
    lambda r: r["locale"] == "de")

Every sample uses a freshly generated house: random rooms, device names in the language of the sample and partly cryptic entity_ids like light.shelly1_3c61a5. A model trained on it learns to resolve names via the device list in the system prompt instead of memorising one house.

Project

The dataset belongs to homeassistant-llm. That repository holds the generator, the training scripts and everything needed to run the model in Home Assistant:

  • Add-on HA LLM Inference: runs llama-server with the model on the Home Assistant host and keeps the model up to date. Add https://github.com/mKenfenheuer/homeassistant-llm under Settings → Add-ons → Add-on Store → ⋮ → Repositories.
  • Integration HA LLM Agent (local): a conversation agent for Assist that builds the system prompt from the exposed entities and executes the tool calls. Install it via HACS as a custom repository (type Integration).
  • Model: mkenfenheuer/qwen2.5-3b-homeassistant-GGUF, Qwen2.5-3B-Instruct fine-tuned on this dataset.
Locale train test
de 28,320 300
en 28,320 300
es 28,320 300
fr 28,320 300
it 27,612 300
nl 28,320 300

The test split uses other houses (seed + 1000) than the train split.

Format

One JSON object per line, OpenAI chat format, with the locale of the sample. Tool call arguments are JSON strings. meta holds the category and the gold tool calls for evaluation.

{"locale": "de", "messages": [
  {"role": "system", "content": "Du bist der Sprachassistent ... Geräte (entity_id | Name | Bereich):\nlight.kueche_decke | Deckenlicht Küche | Küche\n..."},
  {"role": "user", "content": "Mach das Licht in der Küche an"},
  {"role": "assistant", "content": null, "tool_calls": [{"id": "call_00001", "type": "function",
    "function": {"name": "control", "arguments": "{\"actions\": [{\"service\": \"light.turn_on\", \"entity_id\": [\"light.kueche_decke\"]}]}"}}]},
  {"role": "tool", "tool_call_id": "call_00001", "content": "{\"success\": true}"},
  {"role": "assistant", "content": "Das Licht in der Küche ist jetzt an."}],
 "meta": {"cat": "command", "gold": [["control", {"actions": [...]}]], "location": null}}

The tool schema (TOOLS) is not part of each row; it is defined in llm_schema.py of the project repository and passed to the chat template during training.

Categories (train, de, v18)

Category Samples Content
command 9,209 single commands: lights (also by area), covers, awning, climate, humidifiers, locks, alarm, media (play, pause, next and previous track, volume, seeking forward and back), music search and play (artist, track, album, playlist, radio, plain "Spiel Musik"), playlists picked from the media library by mood or as favorite songs, the speaker of the voice device preferred, shuffle, repeat, mute, to-do lists (add, check off, remove), fans, vacuum, lawn mower, valves with position, buttons, scenes, group entities, appliance power switches, heating mode switches; short media commands without a named player read all players and act on the one that plays (or, for "Play", is paused)
question 6,861 state questions answered via get_state, music_library, get_time or timer: weather now, for the rest of the day and the next days, to-do list items, time and date, timers still running, appliance status sensors, door contacts, open windows and covers of the whole house or a room, electric cars, outdoor temperature, lights of an area, two questions in one sentence, playlists, albums (also of one artist), artists, stations and podcasts of the media library
conversation 4,363 3 to 6 turns: undo, corrections, "Welches Licht hast du ausgeschaltet?", recaps, checks, topic changes, music follow-ups ("Lauter", "Zurück", "Vorspulen", pause and play again), playing a playlist named in a library answer, timer follow-ups ("Wie lange noch?"), list follow-ups ("Und Eier"), choosing a speaker after a question back
timer 2,457 start (also named and with a delayed command such as "Mach in 10 Minuten das Licht aus"), cancel, cancel all, pause, resume, add, subtract, ambiguous names, no matching timer, devices without timer support
unknown 1,533 devices, rooms or lists that do not exist, alarms at a clock time: no tool call, other rooms suggested, also when the user insists twice; houses without areas
error 1,105 unreachable devices, partial success, rooms where only some lights are reachable, retries, music not found, players without a media library: the answer reports the failure
compound 473 two commands in one sentence
broadcast 472 announcements to all voice devices, also without other devices
chat 411 greetings, thanks, capabilities, "Vergiss es"
followup 350 two-turn conversations ("und wieder aus", "Nee, ist es nicht", accepting a suggested other room)
relative 237 "Mach es im Bad wärmer": read state, then set
clarify 141 several speakers and none named: the assistant reads the players first, plays on the only reachable one, says that none is reachable, or asks which one

The generator draws from 117 cases with equal quotas (236 samples each, a few cases with few distinct sentences have fewer), so rare situations are as frequent as common ones.

Music

The system prompt can name the speaker of the voice device ("Der Lautsprecher des Sprachgeräts: media_player.…"). "Spiel Musik" and other music requests without a named player play there first, then on the only speaker in the room of the voice device; otherwise the assistant reads all players and asks. music_library returns the names in the media library of a player (media_player.browse_media in the integration), which media_player.search_and_play then plays by name. search_and_play without a query continues the loaded title or plays the favorite songs, and media_player.seek_relative seeks by seconds (negative: back).

The playlists of a media library are generated per sample like real ones (gen/playlists.py): built-in mixes, artist radios, "This Is ..." lists, genre and festival playlists, soundtracks and personal names with emojis, from 2 to 100 entries. For "Spiel meine Lieblingssongs" or "Spiel eine Playlist zum Einschlafen" the assistant reads the playlists and picks the one that fits among them; names of related moods are left out, so exactly one fits. In 12 % of these samples none fits and the assistant names a few others.

Answer length

The system prompt carries one of four answer lengths, set in the integration options: short ("Antworte so knapp wie möglich"), medium (default), long and detailed. Answers follow it: a weather question gets the current weather only (short), the course of the rest of the day (medium), today's range and rain chance (long), and humidity, wind and tomorrow (detailed). meta.verbosity holds the level of each sample (40 % medium, 20 % each other level).

src/check_dataset.py verifies every assistant answer against the preceding tool results (no claimed success after an error, numbers present in the result, unreachable devices mentioned).

About 20 % of the samples start with an earlier, unrelated turn, so the model learns to act on the latest request only.

Generation

Created with gen_dataset.py and one generator package per language, gen/<lang>/ (template-based, no LLM involved): python gen_all.py --seed 18 --per-case 236, which runs gen_dataset.py --lang <lang> data/<lang>/train.jsonl per_case:236 18 for every language and merges the rows. All generators have the same cases, tools and services (check_languages.py); llm_schema.py holds the prompt texts of all languages.

The vendor id prefixes in the generator (Homematic, Shelly) are fictional.

Downloads last month
670

Models trained or fine-tuned on mkenfenheuer/homeassistant-tool-calling