apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
35.26k stars 13.78k forks source link

Update Google Cloud Generative Model Hooks/Operators to bring parity with Vertex AI API #40484

Open CYarros10 opened 4 days ago

CYarros10 commented 4 days ago

With the constantly evolving Vertex AI APIs for generative models, this PR updates the generative_model hooks/operators in the following ways:

for more information visit: https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal


^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

CYarros10 commented 1 day ago

@shahar1 Thank you for your feedback. I agree with your points. I'll add a commit that retains the old operators/hooks and include deprecation warnings.

potiuk commented 14 hours ago

conflicts