Releases: googleapis/python-aiplatform
Releases · googleapis/python-aiplatform
v1.145.0
1.145.0 (2026-04-01)
Features
- Add session_id to Create Session to allow custom session id (bea67c2)
- Eval SDK: Migrate model call method by genai SDK usage (ff5e246)
- Eval SDK: Migrate model call method by genai SDK usage in preview foler (ad36123)
- Limit metric registry support to only custom code execution metric and llm based metric in SDK (c12aedc)
Bug Fixes
- Increase default timeout to 600 seconds for ask_contexts and async_retrieve_contexts in VertexRagServiceClient. (3de2c1e)
v1.144.0
1.144.0 (2026-03-31)
⚠ BREAKING CHANGES
- Breaking change in experimental methods:
create_from_bigqueryandupdate_multimodal_datasetno longer automatically prepend a missingbq://prefix for BigQuery URIs. When using the new functionMultimodalDataset.set_bigquery_urithe prefix will still be added if needed.
Features
- Add
metadata_filterusage to all retrieval and generator methods inrag_retrieval.py(841c597) - Add container_spec to Reasoning Engine public protos (9a0eefb)
- Add container_spec to Reasoning Engine public protos (9a0eefb)
- Add support for container_spec in AgentEngines (da663c0)
- GenAI SDK client(multimodal) - Add metadata helpers to
MultimodalDataset. (e164b19) - Publish client batch config schema (9a0eefb)
- Refactor evaluation instance building and update LLM metric handler (7a3b436)
- Update the interface for custom code execution metric while maintaining remote_custom_function support for backward compatibility (f7733ec)
Bug Fixes
- Auto-created GCS staging bucket names are less predictable (1a33ad9)
- GenAI SDK client(multimodal) - Replace blocking calls in
create_from_pandaswith async versions. (2767273) - Introduce timeout for outgoing A2A requests from AgentEngine (78525d2)
- Relax the requirement to specify class_methods if image_spec/container_spec is provided (6f7b12c)
- Standardize on the app_name in AdkApp (ee9fbe1)
Documentation
- Update API common type documentation (9a0eefb)
Miscellaneous Chores
- Release 1.144.0 (2ad586d)
v1.143.0
1.143.0 (2026-03-25)
Features
- Add AgentEngine Sessions module (368a8f8)
- Add memory_id to Create Memory (2167f36)
- Add RagMetadata and RagDataSchema management APIs (4f0fdfe)
- Add raw_event to Append Event (2167f36)
- GenAI SDK client(multimodal) - Accept
gemini_request_read_configinstead oftemplate_configin all functions. (f138162) - GenAI SDK client(multimodal) - Support creating multimodal dataset from bigframe DataFrame (9b7dc29)
Bug Fixes
v1.142.0
1.142.0 (2026-03-20)
Features
- Add
retrieve_contexts_asyncandask_contextsSDK methods inrag_retrieval.py(0e0137e) - Add
VALIDATEDFunction Calling mode to v1 (981a551) - Add aiohttp to agent_engines dependencies. (394253a)
- Add custom session id field to create session v1 (981a551)
- Add custom session id field to create session v1beta1 (981a551)
- Add EvaluationMetric Create, Get and List methods to Vertex SDK GenAI evals (f4b4244)
- Add new
embed_content_configto messageEmbedContentRequest(981a551) - Add new
embed_content_configto messageEmbedContentRequest(981a551) - Add raw_event field to event proto v1 (981a551)
- Add support for metric_resource_name within metric in rubric generation (4dbd76c)
- Add support for passing agent data for custom code execution metric (0c70de8)
- Add support for referencing registered metrics by resource name in evaluation run API (76a9558)
- Adds run_query_job and check_query_job to SDK for long running async tasks. (0cff2d8)
- Allow using registered metric resource names in evaluation (72942a4)
- Enable a2a streaming for agents deployed to Agent Engine. (ccfd37f)
- GenAI Client(evals) - BREAKING_CHANGE: The agent engine resource name is now passed as a separate
agentparameter tocreate_evaluation_runmethods, rather than being part of theAgentInfoobject. This parameter is now required ifagent_infois provided (dab185a) - GenAI Client(evals): Add starting_prompt, conversation_plan, agent_data to evaluation datset (64ef223)
- GenAI Client(evals): Update to generate_conversation_scenarios from generate_user_scenarios (1b4c325)
- GenAI SDK client(multimodal) - Support creating multimodal dataset from pandas DataFrame. (8f4b4fe)
- GenAI SDK client(multimodal) - Support getting a bigframe DataFrame from a multimodal dataset (50d804f)
- RAG - Remove VectorDb defaulting in SDK (39b7fe5)
- RagMetadata and RagDataSchema concepts and Batch API definitions added for Preview (981a551)
- Refactor RegisteredMetricHandler and implement llm_based_metric_spec support (24f626c)
- Update the schema proto for the RagChunk with file_id and chunk_id to align with the vertex_rag_data.proto (981a551)
- Upgrade protobuf from v25.7 to v31.0 (981a551)
Bug Fixes
- Add embedding_metadata to MatchNeighbor from_embedding. (ffd2cff)
- GenAI Client(evals) - missing response warning when agent_data is present (0d6c54e)
- GenAI Client(evals): Drop empty columns in evaluation dataset (be869ca)
- GenAI Client(evals): Remove prompt filled by starting prompt (55b12a5)
- GenAI SDK client - Add get session call to create session sdk if an immediate success is returned (933debd)
- GenAI SDK client - Breaking Change: Remove the following types from vertexai.types and depend on these types from the Google GenAI SDK via google.genai.types - ComputationBasedMetricType, FunctionResponseScheduling, MediaResolution, Outcome, PairwiseChoice, RubricContentType, Blob, CodeExecutionResult, ExecutableCode, FileData, Part, PartMediaResolution, VideoMetadata, FunctionCall, FunctionResponse, FunctionResponseBlob, FunctionResponseFileData, FunctionResponsePart, PartialArg, ComputationBasedMetricSpec, LLMBasedMetricSpec, PredefinedMetricSpec, RubricGenerationSpec, BleuMetricValue, CustomOutput, ExactMatchMetricValue, PairwiseMetricResult, PointwiseMetricResult, RawOutput, RougeMetricValue, BigQuerySource, GcsSource, ModelArmorConfig (3cd949d)
Documentation
- Updated comments for
rag_file_metadata_configacross ImportRagFilesRequest and UploadRagFileRequest (981a551)
v1.141.0
1.141.0 (2026-03-10)
Features
- "global" endpoint supports "grpc" transport (b3bae32)
- Add PromptTemplateData to support
contextandhistorycolumns when creating Evaluation run from dataframe (e887a2e) - GenAI Client(evals): Add candidate name to local ADK agent scraping (79d8e1c)
- GenAI Client(evals): Add validation for
agent_datain EvaluationDataset in create_evaluation_run (2b0a98c) - GenAI Client(evals): onboarding agent_config (agents) in create_evaluation_run (eacc86c)
- GenAI Client(evals): Patch agent config map to agent data (8ba4707)
- GenAI Client(evals): Update to enable agent run functionality in eval management service (7a59738)
- Update match_service proto for new embedding metadata fields (fba5350)
- Update match_service proto for new embedding metadata fields (fba5350)
- Update match_service proto for new embedding metadata fields (fba5350)
Bug Fixes
- GenAI Client(evals) - Add datetime and bytes serialization to _json_serializer (7410b1d)
v1.140.0
1.140.0 (2026-03-04)
Features
- A new field
computation_based_metric_specis added to message.google.cloud.aiplatform.v1beta1.Metric(e5f71de) - A new field
evaluation_runis added to message.google.cloud.aiplatform.v1beta1.EvaluateDatasetRun(e5f71de) - A new field
inference_generation_configis added to message.google.cloud.aiplatform.v1beta1.EvaluationConfig(e5f71de) - A new field
llm_based_metric_specis added to message.google.cloud.aiplatform.v1beta1.Metric(e5f71de) - A new field
metric_resultsis added to message.google.cloud.aiplatform.v1beta1.EvaluateInstancesResponse(e5f71de) - A new field
predefined_metric_specis added to message.google.cloud.aiplatform.v1beta1.Metric(e5f71de) - A new message
ComputationBasedMetricSpecis added (e5f71de) - A new message
LLMBasedMetricSpecis added (e5f71de) - A new message
MetricResultis added (e5f71de) - A new message
PredefinedMetricSpecis added (e5f71de) - Add
traffic_type, tool_use_prompt_tokens_detailsto messageGenerateContentResponse.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
namein message.google.cloud.aiplatform.v1beta1.Dataset(e5f71de) - Add resource_reference to the field
namein 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
AggregationMetricis changed (e5f71de) - A comment for field
aggregation_outputin message.google.cloud.aiplatform.v1beta1.EvaluateDatasetResponseis changed (e5f71de) - A comment for field
expire_timein message.google.cloud.aiplatform.v1beta1.Sessionis changed (e5f71de) - A comment for field
filterin message.google.cloud.aiplatform.v1beta1.ListSessionsRequestis changed (e5f71de) - A comment for field
output_infoin message.google.cloud.aiplatform.v1beta1.EvaluateDatasetResponseis changed (e5f71de) - A comment for field
ttlin message.google.cloud.aiplatform.v1beta1.Sessionis changed (e5f71de) - A comment for message
EvaluateDatasetResponseis changed (e5f71de) - A comment for message
Metricis changed (e5f71de) - A comment for message
OutputInfois changed (e5f71de) - Comment on
evaluate_dataset_responseclarified (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.Datasetand.google.cloud.aiplatform.v1beta1.DatasetVersion(e5f71de)
v1.139.0
v1.138.0
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
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)