Releases: googleapis/python-aiplatform
Releases · googleapis/python-aiplatform
v1.63.0
1.63.0 (2024-08-20)
Features
- A new field
satisfies_pzs
is added to message.google.cloud.aiplatform.v1.BatchPredictionJob
(#4192) (6919037) - Add advanced PDF parsing option for RAG file import (6e1dc06)
- Add multithreading for custom metric computation. (2c93fc1)
- Add progress bar for generating inference. (b78714f)
- Add progress bar to custom metrics. (3974aec)
- Add Prompt class support for configs and Prompt.generate_content wrapper (7f1e031)
- GenAI - Added seed parameter to the GenerationConfig class (9f1e073)
- GenAI - Added the
Candidate.avg_logprobs
property (de80695) - GenAI - Released the
Prompt
feature to Public Preview (64eeab8) - GenAI Evaluation: Add generic model-based
PointwiseMetric
andPairwiseMetric
classes that allow customizing metric prompt templates. AddPointwiseMetricPromptTemplate
,PairwiseMetricPromptTemplate
classes to help formulate and customize metric prompt templates. Addmetric_column_mapping
parameter toEvalTask
for metric prompt template input variable name mapping. (fd38b49) - GenAI Evaluation: Open source model-based metric prompt template examples for Gemini 1.5 Pro autorater. Add
MetricPromptTemplateExamples
class to help retrieve model-based metric prompt templates. (fd38b49) - GenAI Evaluation: Release GenAI Evaluation SDK GA features to
vertexai.preview
module. (fd38b49) - Publish GenAI Evaluation SDK GA features to
vertexai.evaluation
module. Switch GenAI Evaluation Service client to v1 version. (45e4251)
Bug Fixes
- Add support of display_name to create_cached_content in python SDK (ecc2d54)
- Always upload the pickled object and dependencies tarball when creating ReasoningEngine (34ef5a3)
- Remove grouding attribution (f6ece65)
Documentation
- Update Prompt docstring for batch prompting (e96b6e6)
v1.62.0
1.62.0 (2024-08-13)
Features
- Add metadata to evaluation result. (375095e)
- Add Prompt class for multimodal prompt templating (1bdc235)
- Add support for query method in Vertex AI Extension SDK (0008735)
- Add support for reservation affinity in custom training jobs. (802609b)
- Add support for strategy in custom training jobs. (a076191)
- Adding spot, reservation_affinity to Vertex SDK (3e785bd)
- Support api keys in initializer and create_client (7404f67)
- Support creating optimized online store with private service connect (659ba3f)
- Support disable Cloud logging in Ray on Vertex (accaa97)
- Support PSC-Interface in Ray on Vertex (accaa97)
Bug Fixes
- Added credentials, project, and location on PipelineJobSchedule init (281c171)
- Avoid breakage of langchain from orjson 3.10.7 (c990f73)
- Deprecate disable_attribution in GoogleSearchRetrieval. (c68d559)
Documentation
- Update the docstring for compute_tokens method. (849e8d4)
v1.61.0
1.61.0 (2024-08-05)
Features
- Add a warning message for scheduled deprecation of Coherence metric class (7f238fb)
- Add deprecation messages for all model-based metric classes (71c0fd3)
- Add support for task type (CODE_RETRIEVAL_QUERY) through get_embeddings. (f2ce1e4)
- Add system_instruction to LangchainAgent template. (c71c3dd)
- Adding Slack and Jira data connector for RAG to SDK (d92e7c9)
- Allow protobuf 5.x (ce9cd5d)
- LVM - Release
ImageGenerationModel
to GA (718c199) - Support "update" for reasoning engine. (b73ef3e)
- Update Rapid Evaluation Service QPS. Add a customizable evaluation service QPS parameter. (9ee9289)
Documentation
v1.60.0
1.60.0 (2024-07-24)
Features
- Add preflight validations to PipelineJob submit and run methods. (c5a3535)
- Add support for langchain v0.2+ package versions in default installation (259b638)
- GenAI - Added tokenization support via
GenerativeModel.compute_tokens
(cfe0cc6) - GenAI - ContextCaching - allow from_cached_content to take the cached_content resource name (8f53902)
- Make count_tokens generally-available at TextEmbeddingModel. (efb8413)
Bug Fixes
- Avoid throw error when Part.text is empty in modality content checks (bbd4a49)
- Correct logit_bias type annotation to accept keys as strings (2676d25)
- Create FV embedding dimensions sample - dimensions should be an int (2aa221e)
- Fix the sync option for Model Monitor job creation (22151e2)
- Include DeploymentResourcePool class in aiplatform top-level sdk module (ecc4f09)
- Overriding the current TracerProvider when enabling tracing (1476c10)
- Pass the project ID from vertexai.init to CloudTraceSpanExporter when enable_tracing=True for LangchainAgent (3ec043e)
Documentation
- GenAI - Update README.md for Vertex Generative AI SDK for Python to add subsections to the right nav. (42af742)
v1.59.0
1.59.0 (2024-07-09)
Features
- Add model and contents fields to ComputeTokensRequest v1 (f6e7b9c)
- Add model and contents fields to ComputeTokensRequest v1beta1 (f6e7b9c)
- Add role field to TokensInfo v1 (f6e7b9c)
- Add role field to TokensInfo v1beta1 (f6e7b9c)
- GenAI - Tuning - Released the Supervised Fine Tuning feature o GA (ae47639)
Bug Fixes
v1.58.0
1.58.0 (2024-07-03)
Features
- Add deploy_metadata to PublisherModel.Deploy v1 (71e41c8)
- Add deploy_metadata to PublisherModel.Deploy v1beta1 (b5c3cdd)
- Add display tuning job button for Ipython environments when getting an existing job (872b455)
- Add private_service_connect_config and service_attachment fields to DedicatedServingEndpoint v1 (71e41c8)
- Add satisfies_pzs and satisfies_pzi fields to Model v1 (71e41c8)
- Add satisfies_pzs and satisfies_pzi fields to Model v1beta1 (b5c3cdd)
- Add satisfies_pzs and satisfies_pzi fields to Tensorboard v1 (71e41c8)
- Add satisfies_pzs and satisfies_pzi fields to Tensorboard v1beta1 (b5c3cdd)
- Add UpdateDeploymentResourcePool method to DeploymentResourcePoolService v1 (71e41c8)
- Add UpdateDeploymentResourcePool method to DeploymentResourcePoolService v1beta1 (b5c3cdd)
- Add use_effective_order field to BleuSpec v1beta1 (b5c3cdd)
- GenAI - Evaluation - Add a progress bar for evaluation service requests (bbffb0d)
- GenAI - Evaluation - Implement rate limiter and refactor parallelization for online evaluation service requests (bbffb0d)
- GenAI - Evaluation - Return partial evaluation results with error logging (bbffb0d)
- Migrate DeploymentResourcePool and associated functionality to V1 namespace for GA launch of model co-hosting. (1474d98)
Bug Fixes
IndexConfig
- use TreeAhConfig as defaultalgorithm_config
. (341d287)- LVM - Update
Video.load_from_file()
to support storage.googleapis.com links (b63f960)
Documentation
v1.57.0
1.57.0 (2024-06-26)
Features
- Add _ModelBasedMetric base class to
vertexai.preview.evaluation.metrics
and allow metric spec customization (536f1d5) - Add
_AutomaticMetric
type and support customizing metric spec for automatic pointwise metrics. AddRouge
metric tovertexai.preview.evaluation.metrics
(f6b6dee) - Add 12 model-based pointwise metric classes to
vertexai.preview.evaluation.metrics
(4742a87) - Add display tuning job button for Ipython environments when starting a new job (b1e9a6c)
- Add encryption_spec to TuningJob (5a6ce78)
- Add enum value MALFORMED_FUNCTION_CALL to
.google.cloud.aiplatform.v1beta1.content.Candidate.FinishReason
(5a6ce78) - Add fields grounding_chunks and grounding_supports to GroundingMetadata (5a6ce78)
- Add MALFORMED_FUNCTION_CALL to FinishReason (5a6ce78)
- Add preflight_validations to PipelineJob (5a6ce78)
- Add streamRawPredict rpc to prediction service (5a6ce78)
- Add support for hybrid queries for private endpoint in Matching Engine Index Endpoint. (ce65eab)
- Add text field in Segment (5a6ce78)
- Change the icon for the model evaluation link to a lightbulb for ipython environments (7dad7f0)
- Endpoint.direct_predict (9351e1a)
- Endpoint.direct_predict_async (9351e1a)
- Endpoint.direct_raw_predict (9351e1a)
- Endpoint.direct_raw_predict_async (9351e1a)
- Endpoint.stream_direct_predict (9351e1a)
- Endpoint.stream_direct_raw_predict (9351e1a)
- Endpoint.stream_raw_predict (9351e1a)
- Expose new text embedding tuning parameters in GA namespace. (249a5fa)
- GenAI - Batch Prediction - Added support for tuned GenAI models (a90ee8d)
- Mark default profile run as complete when calling end_upload_tb_log (6397f30)
- Sample code for Vertex AI Feature Store (2c28b4e)
- Sample code for Vertex AI Feature Store (2fbf5a5)
- Tokenization - Added count_tokens support for local tokenization (a8a4c30)
- Update rich html Ray on Vertex Client Context widget (380c9d9)
Bug Fixes
FeatureGroup.create()
- remove unused entity id column param (c46f3e9)- Fix bug where retry_timeout does not work with evaluation with experiments (a31ac4d)
- Use default run_name in Tensorboard uploader for direct directory upload. (78a92a1)
Documentation
- A comment for field
distibution
in message.google.cloud.aiplatform.v1beta1.model_monitoring_stats.ModelMonitoringStatsDataPoint
is changed. (5a6ce78) - A comment for field
name
in message.google.cloud.aiplatform.v1beta1.cached_content.CachedContent
is changed (5a6ce78) - A comment for field
source
in message.google.cloud.aiplatform.v1beta1.tool.Retrieval
is added. (5a6ce78) - Update the documentation for the
time_series_dataset
andvideo_dataset
classes (2cf4cb9)
v1.56.0
1.56.0 (2024-06-18)
Features
- Add
retry_timeout
to EvalTask invertexai.preview.evaluation
(4d9ee9d) - Add hybrid query example to vector search sample. (510da5e)
- Add metric classes for 2 pairwise metrics for rapid evaluation SDK. (831c8e4)
- Add pipeline_job_name to allow PipelineJob.get(pipeline_job_name) (32e3b22)
- Add sample code show how to create an optimized private online store in Vertex AI Feature Store. (e352175)
- GenAI - Context Caching - add get() classmethod and refresh() instance method (6be874a)
- GenAI - Context Caching - also print model_name and expire_time. (d548c11)
- GenAI - Tuning - Added support for CMEK (eb651bc)
Bug Fixes
- Do not reset aiplatform.Experiment or aiplatform.ExperimentRun unnecessarily when running tensorboard uploader. (28a091a)
Documentation
- Update the documentation for the
time_series_dataset
andvideo_dataset
classes (d5dc7b5)
v1.55.0
1.55.0 (2024-06-12)
Features
- view model evaluations when AustoSxS pipeline completes (17c59c4c2)
- Add support for user-configurable 1P embedding models and quota for RAG (8b3beb666)
- Add Webpage Browser Extension to Vertex AI Extension SDK (c222f4bdb)
- Add enable_tracing to LangchainAgent. (cad035cb3)
- Implement multithreaded batch inference in Rapid Evaluation SDK for performance improvement (3c6d1732b)
Bug Fixes
- support VPC and BYOSA case in Ray on Vertex JobSubmissionClient using cluster resource name (662d039c9)
- Include tensorboard profiler requirements when installing google-cloud-aiplatform[tensorboard] (4f1b5593b)
- fix numerical NaN experiment run logging error in EvalTask. (641faec0b)
- Generate uuid run_name when run_name_prefix is not specified. (4e2d87f9a)