Hi there. As google_generative_ai_conversation.generate_content is now deprecated, I want to replace it with ai_task's generate_data tool. However I don't understand how to use it with a local file path. The documentation says that it has to be the output of the media-selector, but I don't understand how to programatically set it to a local file path. For example, here is my current code:
- action: google_generative_ai_conversation.generate_content
metadata: {}
data:
prompt: >-
Text prompt goes here
filenames: /config/www/tmp/doorbell-snapshot-YYmmdd-HHMMSS.mp4
response_variable: generated_content
Is there a way to do this with with the new ai-task, programatically passing in a dynamic filename or filepath? Worst case scenario I can move the video file to my media folder if necessary, but I'd kind of like to keep my current flow if it were possible