mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 07:25:52 -05:00
Use ISO format when passing date to LLMs (#118705)
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
Current time is 05:00:00. Today's date is 2024-05-24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
Only if the user wants to control a device, tell them to edit the AI configuration and allow access to Home Assistant.
|
||||
@@ -81,7 +81,7 @@
|
||||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
Current time is 05:00:00. Today's date is 2024-05-24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
Only if the user wants to control a device, tell them to edit the AI configuration and allow access to Home Assistant.
|
||||
@@ -144,7 +144,7 @@
|
||||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
Current time is 05:00:00. Today's date is 2024-05-24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
<no_api_prompt>
|
||||
@@ -199,7 +199,7 @@
|
||||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
Current time is 05:00:00. Today's date is 2024-05-24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
<no_api_prompt>
|
||||
@@ -254,7 +254,7 @@
|
||||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
Current time is 05:00:00. Today's date is 2024-05-24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
<api_prompt>
|
||||
@@ -309,7 +309,7 @@
|
||||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
Current time is 05:00:00. Today's date is 2024-05-24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
<api_prompt>
|
||||
|
||||
Reference in New Issue
Block a user