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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

1 participant