Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated functionality from google provider #46235

Merged

Conversation

moiseenkov
Copy link
Contributor

Removed deprecated functionality from Google provider that reached end of life on January 31, 2025:

  • Operators

    • Removed AutoMLBatchPredictOperator. Please use the operators from airflow.providers.google.cloud.operators.vertex_ai.batch_prediction_job instead
    • Removed DataflowStartSqlJobOperator. Please DataflowStartYamlJobOperator instead
    • Removed PromptLanguageModelOperator. Please TextGenerationModelPredictOperator instead
    • Removed GenerateTextEmbeddingsOperator. Please TextEmbeddingModelGetEmbeddingsOperator instead
    • Removed PromptMultimodalModelOperator. Please GenerativeModelGenerateContentOperator instead
    • Removed PromptMultimodalModelWithMediaOperator. Please GenerativeModelGenerateContentOperator instead
  • Hooks

    • Removed GenerativeModelHook.prompt_multimodal_model_with_media(). Please use GenerativeModelHook.generative_model_generate_content() instead
    • Removed GenerativeModelHook.prompt_multimodal_model(). Please use GenerativeModelHook.generative_model_generate_content() instead
    • Removed GenerativeModelHook.get_generative_model_part(). Please use GenerativeModelHook.generative_model_generate_content() instead
    • Removed GenerativeModelHook.prompt_language_model(). Please use GenerativeModelHook.text_generation_model_predict() instead
    • Removed GenerativeModelHook.generate_text_embeddings(). Please use GenerativeModelHook.text_generation_model_predict() instead

@moiseenkov moiseenkov requested a review from potiuk as a code owner January 29, 2025 11:41
@boring-cyborg boring-cyborg bot added area:production-image Production image improvements and fixes area:providers kind:documentation provider:google Google (including GCP) related issues labels Jan 29, 2025
@moiseenkov moiseenkov force-pushed the remove-redprecations-end-of-january-2025 branch from ca8dff8 to 97bc676 Compare January 30, 2025 09:34
Copy link
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thank you!

@shahar1 shahar1 merged commit 826fcc9 into apache:main Jan 31, 2025
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:production-image Production image improvements and fixes area:providers kind:documentation provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants