Pass prompt as system_instruction for Gemini 1.5 models (#120147)

This commit is contained in:
tronikos 2024-06-22 03:35:48 -07:00 committed by GitHub
parent 57eb8dab6a
commit ad1f0db5a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 253 additions and 141 deletions

View file

@ -43,6 +43,7 @@ BASE_PROMPT = (
)
DEFAULT_INSTRUCTIONS_PROMPT = """You are a voice assistant for Home Assistant.
Answer questions about the world truthfully.
Answer in plain text. Keep it simple and to the point.
"""