Google Generative AI: Instructions: Support for Include Files #22126
Unanswered
annomatik
asked this question in
Other feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
(also posted here: https://community.home-assistant.io/t/multiline-instruction-sensor/774525)
Hi! I’m currently playing around with Google Generative AI in assist. I have added a lot of knowledge into the instructions – that works. Things like my preferences, light configurations and other things, quite a lot of text.
Now, I’d like to use that knowledge in multiple personalities. Different Google Generative AIs. I could just copy + paste, but that makes administration difficult. So I thought of putting all the knowledge into a text file and just include that – how do I do that? Apparently, the file sensor, which isn’t visible to the Voice Assistants anyway, only supports one line. The text sensor is limited to 250 characters and just single line. And I don’t know how to do it with a template variable either.
Would it be possible to implement something like {{ include('ai_knowledge_about_home.txt') }}, {{ include('ai_knowledge_about_person_x.txt") }} and {{ include('ai_knowledge_about_topic_z.txt') }} for the "instructions" of the Google Generative AI?
Beta Was this translation helpful? Give feedback.
All reactions