From 7cf5fd5952f185f41a6a881784ddc86edfbc4fa8 Mon Sep 17 00:00:00 2001 From: Brandon Rothweiler Date: Tue, 14 Feb 2023 20:33:58 -0500 Subject: [PATCH] Fix typo in OpenAI prompt (#88137) --- homeassistant/components/openai_conversation/const.py | 2 +- tests/components/openai_conversation/test_init.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/openai_conversation/const.py b/homeassistant/components/openai_conversation/const.py index 072fe3d316e..ed914efeb6e 100644 --- a/homeassistant/components/openai_conversation/const.py +++ b/homeassistant/components/openai_conversation/const.py @@ -19,7 +19,7 @@ An overview of the areas and the devices in this smart home: {%- endfor %} {%- endfor %} -Answer the users questions about the world truthfully. +Answer the user's questions about the world truthfully. If the user wants to control a device, reject the request and suggest using the Home Assistant app. diff --git a/tests/components/openai_conversation/test_init.py b/tests/components/openai_conversation/test_init.py index 43baaa3f4ea..5a355a3c438 100644 --- a/tests/components/openai_conversation/test_init.py +++ b/tests/components/openai_conversation/test_init.py @@ -103,7 +103,7 @@ Test Area 2: - Test Device 4 - 1 (3) -Answer the users questions about the world truthfully. +Answer the user's questions about the world truthfully. If the user wants to control a device, reject the request and suggest using the Home Assistant app.