Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ google-auth==2.28.1
# google-cloud-vision
google-auth-httplib2==0.1.1
# via apache-beam
google-cloud-aiplatform==1.42.1
google-genai==2.7.0; python_version >= "3.10"
# via apache-beam
google-cloud-bigquery==3.17.2
# via
Expand Down
2 changes: 1 addition & 1 deletion dataflow/gemma-flex-template/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-aiplatform==1.62.0
google-genai==2.7.0; python_version >= "3.10"
google-cloud-dataflow-client==0.8.14
google-cloud-pubsub==2.28.0
google-cloud-storage==2.18.2
Expand Down
2 changes: 1 addition & 1 deletion dataflow/gemma/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-aiplatform==1.49.0
google-genai==2.7.0; python_version >= "3.10"
google-cloud-dataflow-client==0.8.10
google-cloud-storage==2.16.0
pytest==7.4.0
Expand Down
2 changes: 1 addition & 1 deletion dataflow/run-inference/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-aiplatform==1.57.0
google-genai==2.7.0; python_version >= "3.10"
google-cloud-dataflow-client==0.8.14
google-cloud-storage==2.10.0
pytest==9.0.3
2 changes: 1 addition & 1 deletion gemma2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-aiplatform[all]==1.64.0
google-genai==2.7.0; python_version >= "3.10"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Replacing google-cloud-aiplatform with google-genai will break this sample. The code in gemma2/gemma2_predict_gpu.py imports google.cloud.aiplatform (line 27) and uses aiplatform.gapic.PredictionServiceClient (line 51). The new google-genai SDK is a completely different package and does not provide the google.cloud.aiplatform namespace. Please keep google-cloud-aiplatform as a dependency.

google-cloud-aiplatform[all]==1.64.0

protobuf==5.29.5
2 changes: 1 addition & 1 deletion genai/batch_prediction/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-bigquery==3.29.0
google-cloud-storage==2.19.0
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/bounding_box/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/code_execution/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.60.0
google-genai==2.7.0; python_version >= "3.10"
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/content_cache/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/controlled_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/count_tokens/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.1
2 changes: 1 addition & 1 deletion genai/embeddings/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/express_mode/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
3 changes: 1 addition & 2 deletions genai/image_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
google-genai==1.42.0
pillow==11.1.0
google-genai==2.7.0; python_version >= "3.10"
18 changes: 9 additions & 9 deletions genai/live/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
google-genai==1.42.0
scipy==1.16.1
websockets==15.0.1
numpy==1.26.4
soundfile==0.12.1
openai==1.99.1
setuptools==80.9.0
pyaudio==0.2.14
librosa==0.11.0
google-genai==2.7.0; python_version >= "3.10"
scipy==1.16.1
websockets==15.0.1
numpy==1.26.4
soundfile==0.12.1
openai==1.99.1
setuptools==80.9.0
pyaudio==0.2.14
librosa==0.11.0
simpleaudio==1.0.0
2 changes: 1 addition & 1 deletion genai/model_optimizer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/provisioned_throughput/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/safety/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/template_folder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/text_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/thinking/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.42.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-genai==1.45.0
google-genai==2.7.0; python_version >= "3.10"
# PIl is required for tools_code_execution_with_txt_img.py
pillow==11.1.0
2 changes: 1 addition & 1 deletion genai/tuning/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.47.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion genai/video_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.43.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion generative_ai/embeddings/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.84.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.29.0
anthropic[vertex]==0.28.0
Expand Down
6 changes: 3 additions & 3 deletions generative_ai/evaluation/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.69.0
google-genai==2.7.0; python_version >= "3.10"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Replacing google-cloud-aiplatform with google-genai will break this sample. The code in generative_ai/evaluation/pairwise_summarization_quality.py imports vertexai (line 25) and uses vertexai.init and GenerativeModel from vertexai.generative_models. These are part of the google-cloud-aiplatform package, not google-genai. Please keep google-cloud-aiplatform as a dependency.

google-cloud-aiplatform[all]==1.69.0

sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Replacing langchain-google-vertexai with langchain-google-genai will break this sample if any code imports or uses Vertex AI-specific LangChain classes. Since this sample relies on Vertex AI, please keep langchain-google-vertexai as a dependency.

langchain-google-vertexai==1.0.10

numpy<3
openai==1.68.2
immutabledict==4.2.0
6 changes: 3 additions & 3 deletions generative_ai/extensions/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.69.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
numpy<3
openai==1.68.2
immutabledict==4.2.0
2 changes: 1 addition & 1 deletion generative_ai/function_calling/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-auth==2.38.0
openai==1.68.2
google-cloud-aiplatform==1.86.0
google-genai==2.7.0; python_version >= "3.10"
6 changes: 3 additions & 3 deletions generative_ai/image_generation/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.69.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
numpy<3
openai==1.68.2
immutabledict==4.2.0
2 changes: 1 addition & 1 deletion generative_ai/labels/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-aiplatform==1.133.0
google-genai==2.7.0; python_version >= "3.10"
6 changes: 3 additions & 3 deletions generative_ai/model_garden/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.69.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
numpy<3
openai==1.68.2
immutabledict==4.2.0
6 changes: 3 additions & 3 deletions generative_ai/model_tuning/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.69.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
numpy<3
openai==1.68.2
immutabledict==4.2.0
6 changes: 3 additions & 3 deletions generative_ai/prompts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.74.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
numpy<3
openai==1.68.2
immutabledict==4.2.0
2 changes: 1 addition & 1 deletion generative_ai/provisioned_throughput/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-aiplatform==1.82.0
google-genai==2.7.0; python_version >= "3.10"
google-auth==2.38.0
2 changes: 1 addition & 1 deletion generative_ai/rag/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-aiplatform==1.87.0
google-genai==2.7.0; python_version >= "3.10"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Replacing google-cloud-aiplatform with google-genai will break this sample. The code in generative_ai/rag/generate_content_example.py imports vertexai (line 29) and vertexai.rag (line 27). These modules are part of the google-cloud-aiplatform package and are not available in google-genai. Please keep google-cloud-aiplatform as a dependency.

google-cloud-aiplatform==1.87.0

6 changes: 3 additions & 3 deletions generative_ai/reasoning_engine/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8'
pillow==10.4.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
google-cloud-aiplatform[all]==1.69.0
google-genai==2.7.0; python_version >= "3.10"
sentencepiece==0.2.0
google-auth==2.38.0
anthropic[vertex]==0.28.0
langchain-core==0.2.33
langchain-google-vertexai==1.0.10
langchain-core==1.4.0; python_version >= "3.10"
langchain-google-genai==4.2.4; python_version >= "3.10"
numpy<3
openai==1.68.2
immutabledict==4.2.0
2 changes: 1 addition & 1 deletion model_garden/anthropic/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-genai==1.7.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion model_garden/gemma/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-aiplatform[all]==1.103.0
google-genai==2.7.0; python_version >= "3.10"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Replacing google-cloud-aiplatform with google-genai will break this sample. The code in model_garden/gemma/gemma3_deploy.py imports google.cloud.aiplatform (line 19) and vertexai (line 28). These are part of the google-cloud-aiplatform package and are not available in google-genai. Please keep google-cloud-aiplatform as a dependency.

google-cloud-aiplatform[all]==1.103.0

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
earthengine-api==1.5.9
folium==0.19.5
google-cloud-aiplatform==1.47.0
google-genai==2.7.0; python_version >= "3.10"
pandas==2.2.3
tensorflow==2.12.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pillow==10.3.0
apache-beam[gcp]==2.55.1
google-cloud-aiplatform==1.47.0
google-genai==2.7.0; python_version >= "3.10"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Replacing google-cloud-aiplatform with google-genai will break this sample. The code in people-and-planet-ai/image-classification/predict.py imports google.cloud.aiplatform (line 21) and google.cloud.aiplatform.gapic.schema (line 22). These are part of the google-cloud-aiplatform package and are not available in google-genai. Please keep google-cloud-aiplatform as a dependency.

google-cloud-aiplatform==1.47.0

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apache-beam[gcp]==2.46.0
earthengine-api==1.5.9
folium==0.19.5
google-cloud-aiplatform==1.47.0
google-genai==2.7.0; python_version >= "3.10"
imageio==2.36.1
plotly==5.15.0
tensorflow==2.12.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Flask==3.0.3
apache-beam[gcp]==2.46.0
google-cloud-aiplatform==1.47.0
google-genai==2.7.0; python_version >= "3.10"
gunicorn==23.0.0
pandas==2.2.3
tensorflow==2.12.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
../../serving/weather-model
build==0.10.0
google-cloud-aiplatform==1.47.0
google-genai==2.7.0; python_version >= "3.10"
2 changes: 1 addition & 1 deletion translate/samples/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-translate==3.18.0
google-cloud-storage==2.9.0
google-cloud-automl==2.14.1
google-cloud-aiplatform[vertexai]
google-genai==2.7.0; python_version >= "3.10"