Python client history

3.x client version


3.0

3.0.2

  • Modifications

    • Fix pydantic issue with typing-extensions versions > 4.5.0

3.0.1

  • New Features

    • General
      • Moving all functions of client to an Object oriented approach
      • Methods return resource object or a deserialised object wherever possible.
      • Support to search model, project, dataset, baselines by their names using from_name() method.
      • List methods will return iterator which handles pagination internally.
    • Data
      • Concept of environments was introduced.
      • Ability to download slice data to a parquet file.
      • Publish dataframe as stream instead of batch.
      • New methods for baselines.
      • Multiple datasets can be added to a single model. Ability to choose which dataset to use for computing feature impact / importance, surrogate generation etc.
      • Model can be added without dataset.
      • Ability to generate schema for a model.
      • Model delete is async and returns job details.
      • Added cached properties for model: datasets, model_deployment.
    • Alerts
      • New methods for alerts: enable_notification, disable_notification, set_notification_config and get_notification_config.
    • Explainability
      • New methods in explainability: precompute_feature_impact, precompute_feature_importance, get_precomputed_feature_importance, get_precomputed_feature_impact, precompute_predictions.
      • Decoupled model artifact / surrogate upload and feature impact / importance pre-computation.
  • Modifications

    • All IDs will be UUIDs instead of strings
    • Dataset delete is not allowed anymore

2.x client version


2.5

2.5.2

  • Modifications

    • Fix pydantic issue with typing-extensions versions > 4.5.0

2.5.1

  • New Features

    • Support tf_idf vectors in TextEmbedding type column definition

2.5.0

  • New Features

    • Add support for enrichments
    • Allow pausing multiple alerts at once
    • Add percentage violation metrics for alert
    • Support for alert revisions

2.4

2.4.1

  • Modifications

    • Fix slice query with vector type columns

2.4.0

  • New Features

    • Add support for segments
  • Modifications

    • Ensure TextEmbedding and ImageEmbedding is supported for vectors in metadata

2.3

2.3.0

  • New Features

    • Added support for creating alerts on the Frequency metric.
  • Modifications

    • Relax pydantic version to allow any version between 1.9 and 2

2.2

2.2.1

  • Modifications

    • Relax pydantic version to allow any version between 1.9 and 2

2.2.0

  • Modifications

    • Method add_custom_metric supports an optional description parameter
    • parameter fql is renamed to definition in add_custom_metric method
    • A new get_custom_metric function to get details about a single custom metric.

2.1

2.1.2

  • Modifications

    • Relax pydantic version to allow any version between 1.9 and 2

2.1.1

  • Modifications

    • Update pyarrow requirement to 7.0.0.

2.1.0

  • New Features

  • Introduce Model Tasks NOT_SET and LLM
  • Relax Target / Output specification for model tasks NOT_SET and LLM
  • Support custom metrics
  • Modifications

  • DatasetDataSource and EventIdDataSource will take dataset_id instead of dataset_name
  • Method list_baselines to return baseline names instead of baseline objects

2.0

2.0.8

  • Modifications

    • Relax pydantic version to allow any version between 1.9 and 2

2.0.7

  • Modifications

    • Support string metric types for alert creation, for server 23.7.

2.0.6

  • Modifications

    • Update pyarrow requirement to 7.0.0.

2.0.5

  • Modifications

    • Fix for a minor bug in fdl.DatasetInfo.from_dataframe

2.0.4

  • Modifications

    • Update pyarrow requirement to 13.0.0.

2.0.3

  • Modifications

    • Relax pandas version for 2.0.
    • In get_slice method, parameter query is reverted back to sql_query

2.0.2

  • Modifications

    • Fix Parquet conversion issue in upload_dataset and publish_event_batch

2.0.1

  • Removed

    • Following methods are removed
      • register_model
      • upload_model_package
      • update_model
      • trigger_pre_computation
      • _trigger_model_predictions
      • generate_sample_events
      • list_teams
      • list_project_roles
      • list_org_roles
      • unshare_project
      • share_project
      • process_avro
      • process_csv
  • New Features

    • Add monitor_components as an attribute for CustomFeature of type FROM_COLUMNS. Default as False
    • Adds new statistic type SUM to supported alert metrics
    • Support CustomFeature of type FROM_VECTOR FROM_TEXT_EMBEDDING and FROM_IMAGE_EMBEDDING
  • Modificatiosn

    • Remove column as a parameter in add_alert_rule and get_alert_rules functions
    • Default FileType Parquet in upload_dataset and publish_event_batch
    • In get_slice method, slice_query parameter is changed to query

1.x client version


1.8

1.8.6

  • Modifications

  • Relax pandas version for 2.0.

1.8.4

  • New Features

  • New DeploymentType enum for MANUAL deployment

1.8.3

  • Modifications

  • New columns parameter in add_alert_rule and get_alert_rules to support multiple columns to be used for server version >= 23.3.0
  • get_triggered_alerts supports alert_value as a float as well as a dict

1.8.2

  • Modifications

    • Fixed a bug where min and max for columns of type float in dataset_info are cast into int after uploaded

1.8.1

  • Modifications

    • Fixed a bug wherein null string was going in request body if body wasn't specified.
    • Fix categorical_target_class_details when passed as an array
    • Fix a bug where fdl.ModelInputType.TEXT were not being accepted properly
    • Fix categorical_target_class_details when passed as an empty list

1.8.0

  • Modifications

    • Add new alert type - statistic for setting alerts
    • Add target_class_order as a required field of ModelInfo object when model_task is MULTICLASS_CLASSIFICATION,
      RANKING or BINARY_CLASSIFICATION. Only applies for BINARY_CLASSIFICATION when target column is of type CATEGORY
    • Add columns as a parameter in add_alert_rule and get_alert_rules functions
    • Add deprecation warning for column as a parameter in add_alert_rule and get_alert_rules functions

1.7

1.7.4

  • Modification

    • Do not typecast column with strings in get_slice

1.7.3

  • Modification

    • Send row and column count information to dataset upload api

1.7.2

  • Modification

    • Bring back WeightingParams object

1.7.1

  • Modification

    • Relaxed boto3 version constraint

1.7.0

  • Removed

    • Remove support for initializing fiddler client with version=1
    • Following methods are removed
      • get_segment_info
      • delete_segment
      • deactivate_segment
      • activate_segment
      • list_segments
      • upload_segment
      • add_monitoring_config
      • publish_parquet_s3
      • publish_events_log

1.6

1.6.2

  • Modifications

    • Make dataset_id a required field in add_model
    • Update max_inferred_cardinality to 100
  • New Features

    • New method for updating a model artifact update_model_artifact

1.5

1.5.3

  • Modifications

    • Fix add_model_artifact error for NLP models
    • Add model info validation during add_model

1.5.2

  • Modifications

    • Add fix for self signed certificate not working by adding verify param to FiddlerApi

1.5.1

  • Modifications

    • Fix in violation_of_type to include numpy dtypes such as int64

1.5.0

  • New Features

    • New methods addition for alert rules: add_alert_rule, get_alert_rules, delete_alert_rule
    • New method to get triggered alerts for an alert rule: get_triggered_alerts

Any version before 1.5 is deprecated.