#don t trust any AI generated code
1 messages · Page 1 of 1 (latest)
This isn't ai generated code... this is the prompt being sent to openAI in HA's source code.
that was not clear to me based on your question, but it looks like the list of areas is already provided in the variable area
furthermore, this is a py file, so it's python, not jinja
Sorry about that! I know ai generated answers are a hot topic.
When you enable the integration, you can update the prompt in the UI. The python file just shows the default prompt. But the prompt itself does seem to be in jinja format
yes, but there is no default variable areas
so this variable must be filled somewhere else and provided to the integration
ahh, you're right!
Kinda frustrating that I can't see what exactly is sent to OpenAI
hmm
But that answered my question!
👍
Thank you for your help @dusty flower !