Skip to content

Releases: googleapis/python-aiplatform

v1.140.0

04 Mar 00:47
70fc595

Choose a tag to compare

1.140.0 (2026-03-04)

Features

  • A new field computation_based_metric_spec is added to message .google.cloud.aiplatform.v1beta1.Metric (e5f71de)
  • A new field evaluation_run is added to message .google.cloud.aiplatform.v1beta1.EvaluateDatasetRun (e5f71de)
  • A new field inference_generation_config is added to message .google.cloud.aiplatform.v1beta1.EvaluationConfig (e5f71de)
  • A new field llm_based_metric_spec is added to message .google.cloud.aiplatform.v1beta1.Metric (e5f71de)
  • A new field metric_results is added to message .google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse (e5f71de)
  • A new field predefined_metric_spec is added to message .google.cloud.aiplatform.v1beta1.Metric (e5f71de)
  • A new message ComputationBasedMetricSpec is added (e5f71de)
  • A new message LLMBasedMetricSpec is added (e5f71de)
  • A new message MetricResult is added (e5f71de)
  • A new message PredefinedMetricSpec is added (e5f71de)
  • Add traffic_type, tool_use_prompt_tokens_details to message GenerateContentResponse.UsageMetadata (e5f71de)
  • Add AskContexts and AsyncRetrieveContexts APIs to VertexRagService (fa610af)
  • Add AskContexts and AsyncRetrieveContexts APIs to VertexRagService (fa610af)
  • Add async wrappers in the GenAI client for the Agent Engine Task Store Service (199a406)
  • Add image_spec to Reasoning Engine public protos (e5f71de)
  • Add image_spec to Reasoning Engine public protos (e5f71de)
  • Add max_concurrent_active_run_count field to Schedule message (e5f71de)
  • Add max_concurrent_active_run_count field to Schedule message (e5f71de)
  • Add model_armor_config to GeminiExample (e5f71de)
  • Add more fields to the GenAI client for the Agent Engine Task Store Service (7d58adb)
  • Add resource_reference to the field name in message .google.cloud.aiplatform.v1beta1.Dataset (e5f71de)
  • Add resource_reference to the field name in message .google.cloud.aiplatform.v1beta1.DatasetVersion (e5f71de)
  • Add support for agent_config_source (ADK) in AgentEngines (204e5b4)
  • Add the GenAI client for the Agent Engine Task Store Service (b54ce6d)
  • Add transcription fields to Session Service (e5f71de)
  • Add v1 API version for Session Service (e5f71de)
  • Add Vertex Multimodal Datasets as input and output types in google.cloud.aiplatform.v1beta1.BatchPredictionJob (e5f71de)
  • Add Vertex Multimodal Datasets as input and output types in google.cloud.aiplatform.v1beta1.BatchPredictionJob (e5f71de)
  • GenAI Client(evals) - Add 3 new multi-turn predefined metrics for agent evaluation (MULTI_TURN_TOOL_USE_QUALITY, MULTI_TURN_TRAJECTORY_QUALITY, MULTI_TURN_TASK_SUCCESS). (513d4d6)
  • GenAI Client(evals) - Refactor evaluation visualization to support multi-agent traces and system topology. (84c5602)
  • GenAI Client(evals): Add local ADK agent multi-turn agent scraping via ADK user simulation library (429a182)
  • GenAI Client(evals): Add user scenario generation function to eval components (87a5125)
  • Update data types from discovery doc. (6b5cc8f)

Bug Fixes

  • Add safeguards and warnings for remote code execution during pickle-based model deserialization (aa22f54)
  • GenAI Client(evals): Avoid required session_inputs column to eval dataset (134b989)
  • Only include CandidateResponse if a response is present (10efc13)
  • Save artifact in streaming agent run with events when multiturn (e9f1c88)

Documentation

  • A comment for enum AggregationMetric is changed (e5f71de)
  • A comment for field aggregation_output in message .google.cloud.aiplatform.v1beta1.EvaluateDatasetResponse is changed (e5f71de)
  • A comment for field expire_time in message .google.cloud.aiplatform.v1beta1.Session is changed (e5f71de)
  • A comment for field filter in message .google.cloud.aiplatform.v1beta1.ListSessionsRequest is changed (e5f71de)
  • A comment for field output_info in message .google.cloud.aiplatform.v1beta1.EvaluateDatasetResponse is changed (e5f71de)
  • A comment for field ttl in message .google.cloud.aiplatform.v1beta1.Session is changed (e5f71de)
  • A comment for message EvaluateDatasetResponse is changed (e5f71de)
  • A comment for message Metric is changed (e5f71de)
  • A comment for message OutputInfo is changed (e5f71de)
  • Comment on evaluate_dataset_response clarified (e5f71de)
  • Update documentation of .google.cloud.aiplatform.v1.DatasetService, .google.cloud.aiplatform.v1.Dataset, and .google.cloud.aiplatform.v1.DatasetVersion (e5f71de)
  • Update documentation of .google.cloud.aiplatform.v1beta1.Dataset and .google.cloud.aiplatform.v1beta1.DatasetVersion (e5f71de)

v1.139.0

25 Feb 00:39
ebc7c98

Choose a tag to compare

1.139.0 (2026-02-24)

Features

  • Add max_concurrent_active_run_count support to Scheduled Pipelines client GA. (a204e74)
  • GenAI Client(evals) - update SDK type definitions for Agent Data (6ac28a5)

v1.138.0

17 Feb 22:03
4a8b9a1

Choose a tag to compare

1.138.0 (2026-02-17)

Features

  • Add support for BYO-dockerfile in AE deployment (7572601)
  • GenAI SDK client - Make operation polling interval configurable when creating agent engine sandbox (bf9e0ff)
  • GenAI SDK client(multimodal) - Support Assess Batch Prediction Resources for the multimodal datasets. (0fe5314)
  • GenAI SDK client(multimodal) - Support Assess Batch Prediction Validity for the multimodal datasets. (a63e8d5)
  • GenAI SDK client(multimodal) - Support Assess Tuning Validity for multimodal dataset. (12f5aa5)
  • Update the ADK template to export logs directly to Cloud Logging when OTEL_SEMCONV_STABILITY_OPT_IN is set to "gen_ai_latest_experimental". (82db4ad)

Bug Fixes

  • Refactor session retrieval fallback in _streaming_agent_run_with_events. (8aec754)

v1.137.0

11 Feb 16:15
75991fd

Choose a tag to compare

1.137.0 (2026-02-11)

Features

  • Add filter_groups to PurgeMemories for metadata-based filtering (6907f89)
  • Deprecate prompt_optimizer.optimize and prompt_optimizer.optimize_prompt in favor of prompts.launch_optimization_job and prompts.optimize (ff811f5)

Bug Fixes

  • Use GOOGLE_CLOUD_AGENT_ENGINE_LOCATION env var for service locations. (04aacbb)

v1.136.0

04 Feb 16:12
94b9149

Choose a tag to compare

1.136.0 (2026-02-04)

Features

  • Add fps to message VideoMetadata (157381a)
  • Add agent_card to agent engine spec (d685d81)
  • Force-delete for RagCorpora, ignoring any external errors and ensuring deletion of the RagCorpus (157381a)
  • Update data types from discovery doc. (a5748fd)

Bug Fixes

  • Support custom credentials in RAG.upload_file (66c4d85), closes #4986
  • Test fix internal (1bbf7bb)

v1.135.0

28 Jan 00:15
6843d32

Choose a tag to compare

1.135.0 (2026-01-27)

Features

  • Add ComputationBasedMetricSpec to support metrics like EXACT_MATCH, BLEU, and ROUGE in EvaluationRun configurations. (9d32dd5)
  • Add autoscaling_target_dcgm_fi_dev_gpu_util, autoscaling_target_vllm_gpu_cache_usage_perc, autoscaling_target_vllm_num_requests_waiting options in model deployment on Endpoint & Model classes. (0179aa5)
  • Add optimize and launch_optimization_job methods to prompts module (044c3fa)
  • List all Model Garden models (54260fd)
  • RAG - Add Serverless and Spanner modes in preview. (79da831)
  • Remove experimental warning from sandboxes and add specific warning for non-code execution sandboxes. (7d31d13)
  • Update the v1 service definition to add embedding_metadata. (8f5bfc5)

Documentation

  • Update prompt optimizer code in readme to use methods from prompts module (4636507)

v1.134.0

20 Jan 18:58
682e65f

Choose a tag to compare

1.134.0 (2026-01-18)

Features

  • Add metadata to memories (f9fc79d)
  • Expose PSC for OpenModel (feeb54d)
  • GenAI Client(evals) - Add support for inference_configs in create_evaluation_run. (33fe72a)
  • GenAI SDK client - Support agent engine sandbox http request in genai sdk (11c23a3)
  • Support metadata filtering for memory retrieval (f9fc79d)
  • Support metadata merge strategies for memory generation (f9fc79d)
  • Support Python 3.14 for reasoning engine. (394cd1d)
  • Update data types from discovery doc. (0c6fb66)
  • Update data types from discovery doc. (a451fa3)

Bug Fixes

  • Mistyping of langchain tools causing mypy errors (0705a37)
  • Test fix internal (b1b900e)

v1.133.0

08 Jan 22:05
78f2bdd

Choose a tag to compare

1.133.0 (2026-01-08)

Features

  • Deprecate tuning public preview SDK in favor of tuning SDK (35d362c)
  • GenAI SDK client - Enabling Few-shot Prompt Optimization by passing either "OPTIMIZATION_TARGET_FEW_SHOT_RUBRICS" or "OPTIMIZATION_TARGET_FEW_SHOT_TARGET_RESPONSE" to the optimize_prompt method (715cc5b)
  • GenAI SDK client(memory): Add enable_third_person_memories (65717fa)
  • Support Developer Connect in AE (04f1771)

Bug Fixes

  • Add None check for agent_info in evals.py (c8c0f0f)
  • GenAI client(evals) - Fix TypeError in _build_generate_content_config (be2eaaa)
  • Make project_number to project_id mapping fail-open. (f1c8458)
  • Replace asyncio.run with create_task in ADK async thread mains. (83f4076)
  • Replace asyncio.run with create_task in ADK async thread mains. (8c876ef)
  • Require uri or staging bucket configuration for saving model to Vertex Experiment. (5448f06)
  • Return embedding metadata if available (d9c6eb1)
  • Update examples_dataframe type to PandasDataFrame in Prompt Optimizer. (a2564cc)

v1.132.0

17 Dec 06:03
64cc464

Choose a tag to compare

1.132.0 (2025-12-17)

Features

  • Add Lustre support to the Vertex Training Custom Job API (71747e8)

Documentation

  • A comment for field restart_job_on_worker_restart in message .google.cloud.aiplatform.v1beta1.Scheduling is changed (71747e8)
  • A comment for field timeout in message .google.cloud.aiplatform.v1beta1.Scheduling is changed (71747e8)

v1.131.0

17 Dec 01:01
28f89f8

Choose a tag to compare

1.131.0 (2025-12-16)

Features

  • Allow list of events to be passed to AdkApp.async_stream_query (dd8840a)
  • GenAI Client(evals) - Support CustomCodeExecution metric in Vertex Gen AI Eval Service (4114728)
  • Updates the ADK template to direct structured JSON logs to standard output. (a65ec29)

Bug Fixes

  • Fix RagManagedVertexVectorSearch when using backend_config (df0976e)
  • GenAI Client(evals) - patch for vulnerability in visualization (8a00d43)