Description of Google Generative AI integration states
“The major differences include: the free of charge plan is rate limited, and free prompts/responses are used for product improvement.”
Especially for Any files or images we upload these may very well contain privacy related material.
The Google Gemini API documents describe the files.delete
functionality : Using files | Gemini API | Google AI for Developers
Since HA is quite privacy focussed, it would suit to include the option to add automatic deletion of the uploaded files after receiving the response. Not saying it will keep from being used for training, but at least it will be removed asap.
Action could then look like this:
action: google_generative_ai_conversation.generate_content
data:
prompt: >-
Very briefly describe what you see in this image from my doorbell camera.
Your message needs to be short to fit in a phone notification. Don't
describe stationary objects or buildings.
filenames: /tmp/doorbell_snapshot.jpg
delete_after_process: true
response_variable: generated_content
OR
action: google_generative_ai_conversation.deletefiles
data:
filenames: files/doorbell_snapshot.jpg
response_variable: results