mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Improve LLM prompt (#118520)
This commit is contained in:
@@ -422,8 +422,9 @@ async def test_assist_api_prompt(
|
||||
+ yaml.dump(exposed_entities)
|
||||
)
|
||||
first_part_prompt = (
|
||||
"Call the intent tools to control Home Assistant. "
|
||||
"When controlling Home Assistant always call the intent tools. "
|
||||
"Do not pass the domain to the intent tools as a list. "
|
||||
"Use HassTurnOn to lock and HassTurnOff to unlock a lock. "
|
||||
"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 domain."
|
||||
|
||||
Reference in New Issue
Block a user