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)