mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve LLM prompt (#118443)
* Improve LLM prompt * test * improvements * improvements
This commit is contained in:
@@ -423,7 +423,9 @@ async def test_assist_api_prompt(
|
||||
)
|
||||
first_part_prompt = (
|
||||
"Call the intent tools to control Home Assistant. "
|
||||
"When controlling an area, prefer passing area name and domain."
|
||||
"When controlling a device, prefer passing just its name and its domain "
|
||||
"(what comes before the dot in its entity id). "
|
||||
"When controlling an area, prefer passing just area name and a single domain."
|
||||
)
|
||||
no_timer_prompt = "This device does not support timers."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user