Add base prompt for LLMs (#118592)
This commit is contained in:
parent
dfb407728f
commit
f3b20d30ae
4 changed files with 15 additions and 16 deletions
|
@ -30,10 +30,9 @@
|
|||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
The current time is 05:00:00.
|
||||
Today's date is 05/24/24.
|
||||
Only if the user wants to control a device, tell them to edit the AI configuration and allow access to Home Assistant.
|
||||
''',
|
||||
'role': 'user',
|
||||
|
@ -82,10 +81,9 @@
|
|||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
The current time is 05:00:00.
|
||||
Today's date is 05/24/24.
|
||||
Only if the user wants to control a device, tell them to edit the AI configuration and allow access to Home Assistant.
|
||||
''',
|
||||
'role': 'user',
|
||||
|
@ -146,10 +144,9 @@
|
|||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
The current time is 05:00:00.
|
||||
Today's date is 05/24/24.
|
||||
<no_api_prompt>
|
||||
''',
|
||||
'role': 'user',
|
||||
|
@ -202,10 +199,9 @@
|
|||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
The current time is 05:00:00.
|
||||
Today's date is 05/24/24.
|
||||
<no_api_prompt>
|
||||
''',
|
||||
'role': 'user',
|
||||
|
@ -258,10 +254,9 @@
|
|||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
The current time is 05:00:00.
|
||||
Today's date is 05/24/24.
|
||||
<api_prompt>
|
||||
''',
|
||||
'role': 'user',
|
||||
|
@ -314,10 +309,9 @@
|
|||
'history': list([
|
||||
dict({
|
||||
'parts': '''
|
||||
Current time is 05:00:00. Today's date is 05/24/24.
|
||||
You are a voice assistant for Home Assistant.
|
||||
Answer in plain text. Keep it simple and to the point.
|
||||
The current time is 05:00:00.
|
||||
Today's date is 05/24/24.
|
||||
<api_prompt>
|
||||
''',
|
||||
'role': 'user',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue