airflow icon indicating copy to clipboard operation
airflow copied to clipboard

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

Open CYarros10 opened this issue 1 year ago • 0 comments

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

  • naming conventions in line with Vertex AI APIs
  • consolidation of multimodal operators into a single GenerativeModelGenerateContentOperator
  • addition of contents and tools parameters for greater flexibility interacting with Vertex AI APIs
  • docs updates
  • provider dependency upgrade for aiplatform package

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 avatar Jun 28 '24 18:06 CYarros10

@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.

CYarros10 avatar Jul 01 '24 15:07 CYarros10

conflicts

potiuk avatar Jul 02 '24 20:07 potiuk

And again :( conflicts

potiuk avatar Jul 04 '24 13:07 potiuk