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)