v3.5 changelog¶
Reference the changes introduced to v3.5 of DataRobot's Python API client.
Python client v3.5¶
New features¶
- Added support for BYO LLMs using serverless predictions in
CustomModelLLMValidation. - Added the attribute
creation_user_nametoLLMBlueprint. - Added a new class
HostedCustomMetricTemplatefor hosted custom metrics templates. UseHostedCustomMetricTemplate.getto retrieve a hosted custom metric template. UseHostedCustomMetricTemplate.listto list hosted custom metric templates. - Added
Job.create_from_custom_metric_gallery_templateto create a job from a custom metric gallery template. - Added a new class
HostedCustomMetricTemplatefor hosted custom metrics.- Use
HostedCustomMetric.listto list hosted custom metrics. - Use
HostedCustomMetric.updateto update a hosted custom metrics. - Use
HostedCustomMetric.deleteto delete a hosted custom metric. - Use
HostedCustomMetric.create_from_custom_jobto create a hosted custom metric from an existing custom job. - Use
HostedCustomMetric.create_from_templateto create a hosted custom metric from a template.
- Use
- Added a new class
datarobot.models.deployment.custom_metrics.HostedCustomMetricBlueprintfor hosted custom metric blueprints.- Use
HostedCustomMetricBlueprint.getto get a hosted custom metric blueprint. - Use
HostedCustomMetricBlueprint.createto create a hosted custom metric blueprint. - Use
HostedCustomMetricBlueprint.updateto update a hosted custom metric blueprint.
- Use
- Added
Job.list_schedulesto list job schedules. - Added a new class
JobSchedulefor the registry job schedule.- Use
JobSchedule.createto create a job schedule. - Use
JobSchedule.updateto update a job schedule. - Use
JobSchedule.deleteto delete a job schedule.
- Use
- Added attribute
credential_typetoRuntimeParameter. - Added
Deployment.get_segment_attributesto retrieve segment attributes. - Added
Deployment.get_segment_valuesto retrieve segment values.
Enhancements¶
- Updated black version to 23.1.0.
- Removed dependency for the package mock, since it is part of the standard library.
- Added
number_of_clustersparameter toProject.get_model_recordsto filter models by number of clusters in unsupervised clustering projects. - Remove an unsupported
NETWORK_EGRESS_POLICY.DR_API_ACCESSvalue for custom models. - Implemented support for
dr-connector-v1toDataStoreandDataSource. - Added a new parameter
nametoDataStore.listfor searching data stores by name. - Added a new parameter
entity_typeto thecomputeandcreatemethods of the classesShapMatrix,ShapImpact,ShapPreview. Insights can be computed for custom models if the parameterentity_type="customModel"is passed.
Documentation changes¶
- Added usage of
external_llm_context_sizeinllm_settingsingenai_example.rst. - Updated doc string for
llm_settingsto include attributeexternal_llm_context_sizefor external LLMs. - Updated
genai_example.rstto link to DataRobot doc pages for external vector database and external LLM deployment creation.
Experimental changes¶
- Added experimental api support for Data Wrangling. See
Recipe. - Use
Recipe.from_data_store to create a Recipe from data store. - Use
Recipe.retrieve_previewto get a sample of the data after recipe is applied. - Use
Recipe.set_inputsto set inputs to the recipe. - Use
Recipe.set_operationsto set operations to the recipe. - Added new experimental
DataStorethat addsget_spark_sessionfor Databricksdatabricks-v1data stores to get a Spark session. - Added attribute
chunking_typetoDatasetChunkDefinition. - Added OTV attributes to
DatasourceDefinition. - Added
DatasetChunkDefinition.patch_validation_datesto patch validation dates of OTV datasource definitions after sampling job.