snowflake-ml-python 1.7.2__tar.gz → 1.7.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/CHANGELOG.md +28 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/PKG-INFO +38 -9
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/pyproject.toml +5 -5
- snowflake_ml_python-1.7.3/snowflake/cortex/__init__.py +32 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_classify_text.py +12 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_complete.py +82 -13
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_embed_text_1024.py +9 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_embed_text_768.py +9 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_extract_answer.py +9 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_sentiment.py +9 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_summarize.py +9 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_translate.py +9 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/env_utils.py +7 -52
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/identifier.py +4 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/__init__.py +3 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/_internal/arrow_ingestor.py +4 -4
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/data_connector.py +53 -11
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/data_ingestor.py +2 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/torch_utils.py +18 -5
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/example_helper.py +2 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/fileset/fileset.py +18 -18
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/model/model_version_impl.py +5 -3
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/ops/model_ops.py +2 -6
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/sql/model_version.py +11 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_composer.py +8 -3
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_manifest/model_manifest.py +20 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_manifest/model_manifest_schema.py +1 -0
- snowflake_ml_python-1.7.3/snowflake/ml/model/_model_composer/model_method/constants.py +1 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_method/function_generator.py +2 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_method/infer_function.py_template +1 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_method/infer_partitioned.py_template +1 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_method/infer_table_function.py_template +1 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_model_composer/model_method/model_method.py +9 -1
- snowflake_ml_python-1.7.3/snowflake/ml/model/_model_composer/model_user_file/model_user_file.py +27 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/_utils.py +27 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/catboost.py +3 -3
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/huggingface_pipeline.py +5 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/lightgbm.py +5 -3
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/sentence_transformers.py +55 -20
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/sklearn.py +9 -10
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/snowmlmodel.py +66 -28
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/tensorflow.py +70 -17
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/xgboost.py +3 -3
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta/model_meta.py +3 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta/model_meta_schema.py +6 -1
- snowflake_ml_python-1.7.3/snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py +2 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_task/model_task_utils.py +3 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/pandas_handler.py +1 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/snowpark_handler.py +8 -2
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/type_hints.py +1 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/model_trainer_builder.py +0 -8
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/model_transformer_builder.py +0 -13
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/pipeline/pipeline.py +6 -176
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/xgboost/xgb_classifier.py +161 -88
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/xgboost/xgb_regressor.py +160 -85
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/xgboost/xgbrf_classifier.py +160 -85
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/xgboost/xgbrf_regressor.py +160 -85
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/_client/model_monitor_sql_client.py +4 -4
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/registry/_manager/model_manager.py +70 -33
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/registry/registry.py +41 -22
- snowflake_ml_python-1.7.3/snowflake/ml/version.py +1 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake_ml_python.egg-info/PKG-INFO +38 -9
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake_ml_python.egg-info/SOURCES.txt +2 -6
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake_ml_python.egg-info/requires.txt +8 -6
- snowflake_ml_python-1.7.2/snowflake/cortex/__init__.py +0 -24
- snowflake_ml_python-1.7.2/snowflake/ml/_internal/utils/retryable_http.py +0 -39
- snowflake_ml_python-1.7.2/snowflake/ml/fileset/parquet_parser.py +0 -170
- snowflake_ml_python-1.7.2/snowflake/ml/fileset/tf_dataset.py +0 -88
- snowflake_ml_python-1.7.2/snowflake/ml/fileset/torch_datapipe.py +0 -57
- snowflake_ml_python-1.7.2/snowflake/ml/model/_packager/model_runtime/_snowml_inference_alternative_requirements.py +0 -2
- snowflake_ml_python-1.7.2/snowflake/ml/modeling/_internal/ml_runtime_implementations/ml_runtime_handlers.py +0 -151
- snowflake_ml_python-1.7.2/snowflake/ml/modeling/_internal/ml_runtime_implementations/ml_runtime_trainer.py +0 -66
- snowflake_ml_python-1.7.2/snowflake/ml/version.py +0 -1
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/LICENSE.txt +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/README.md +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/setup.cfg +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_finetune.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_sse_client.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_util.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/env.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/dataset_error_messages.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/dataset_errors.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/error_codes.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/error_messages.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/exceptions.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/fileset_error_messages.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/fileset_errors.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/modeling_error_messages.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/exceptions/sql_error_codes.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/file_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/human_readable_id/adjectives.txt +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/human_readable_id/animals.txt +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/human_readable_id/hrid_generator.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/human_readable_id/hrid_generator_base.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/init_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/lineage/lineage_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/migrator_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/telemetry.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/type_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/db_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/formatting.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/import_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/jwt_generator.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/parallelize.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/pkg_version_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/query_result_checker.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/result.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/service_logger.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/snowflake_env.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/snowpark_dataframe_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/sql_identifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/table_manager.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/_internal/utils/temp_file_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/data_source.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/data/ingestor_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/dataset/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/dataset/dataset.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/dataset/dataset_factory.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/dataset/dataset_metadata.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/dataset/dataset_reader.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/access_manager.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/entity.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/airline_features/entities.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/airline_features/features/plane_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/airline_features/features/weather_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/airline_features/source.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/citibike_trip_features/entities.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/citibike_trip_features/features/station_feature.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/citibike_trip_features/features/trip_feature.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/citibike_trip_features/source.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/new_york_taxi_features/entities.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/location_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/new_york_taxi_features/features/trip_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/new_york_taxi_features/source.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/source_data/airline.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/source_data/citibike_trips.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/source_data/fraud_transactions.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/source_data/nyc_yellow_trips.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/source_data/winequality_red.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/wine_quality_features/entities.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/wine_quality_features/features/managed_wine_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/wine_quality_features/features/static_wine_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/examples/wine_quality_features/source.yaml +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/feature_store.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/feature_store/feature_view.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/fileset/embedded_stage_fs.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/fileset/sfcfs.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/fileset/snowfs.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/fileset/stage_fs.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/lineage/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/lineage/lineage_node.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/model/model_impl.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/ops/metadata_ops.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/ops/service_ops.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/service/model_deployment_spec.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/service/model_deployment_spec_schema.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/sql/_base.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/sql/model.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/sql/service.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/sql/stage.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_client/sql/tag.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_env/model_env.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/_base.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/custom.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/mlflow.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/pytorch.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers/torchscript.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_handlers_migrator/base_migrator.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta/_packaging_requirements.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta/model_blob_meta.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta_migrator/base_migrator.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta_migrator/migrator_plans.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_meta_migrator/migrator_v1.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_packager.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_packager/model_runtime/model_runtime.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/base_handler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/builtins_handler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/core.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/numpy_handler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/pytorch_handler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/tensorflow_handler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/_signatures/utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/custom_model.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/model_signature.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/model/models/huggingface_pipeline.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/constants.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/estimator_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/local_implementations/pandas_handlers.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/local_implementations/pandas_trainer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/model_specifications.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/model_trainer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_hpo_trainer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/snowpark_implementations/distributed_search_udf_file.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_handlers.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/snowpark_implementations/snowpark_trainer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/snowpark_implementations/xgboost_external_memory_trainer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/_internal/transformer_protocols.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/calibration/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/calibration/calibrated_classifier_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/affinity_propagation.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/agglomerative_clustering.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/birch.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/bisecting_k_means.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/dbscan.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/feature_agglomeration.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/k_means.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/mean_shift.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/mini_batch_k_means.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/optics.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/spectral_biclustering.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/spectral_clustering.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/cluster/spectral_coclustering.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/compose/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/compose/column_transformer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/compose/transformed_target_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/elliptic_envelope.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/empirical_covariance.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/graphical_lasso.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/graphical_lasso_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/ledoit_wolf.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/min_cov_det.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/oas.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/covariance/shrunk_covariance.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/dictionary_learning.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/factor_analysis.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/fast_ica.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/incremental_pca.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/kernel_pca.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/mini_batch_dictionary_learning.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/mini_batch_sparse_pca.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/pca.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/sparse_pca.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/decomposition/truncated_svd.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/discriminant_analysis/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/discriminant_analysis/linear_discriminant_analysis.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/discriminant_analysis/quadratic_discriminant_analysis.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/ada_boost_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/ada_boost_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/bagging_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/bagging_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/extra_trees_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/extra_trees_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/gradient_boosting_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/gradient_boosting_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/hist_gradient_boosting_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/isolation_forest.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/random_forest_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/random_forest_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/stacking_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/voting_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/ensemble/voting_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/generic_univariate_select.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/select_fdr.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/select_fpr.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/select_fwe.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/select_k_best.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/select_percentile.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/sequential_feature_selector.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/feature_selection/variance_threshold.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/framework/_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/framework/base.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/gaussian_process/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/gaussian_process/gaussian_process_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/gaussian_process/gaussian_process_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/impute/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/impute/iterative_imputer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/impute/knn_imputer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/impute/missing_indicator.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/impute/simple_imputer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_approximation/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_approximation/additive_chi2_sampler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_approximation/nystroem.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_approximation/polynomial_count_sketch.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_approximation/rbf_sampler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_approximation/skewed_chi2_sampler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_ridge/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/kernel_ridge/kernel_ridge.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/lightgbm/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/lightgbm/lgbm_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/lightgbm/lgbm_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/ard_regression.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/bayesian_ridge.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/elastic_net.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/elastic_net_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/gamma_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/huber_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lars.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lars_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lasso.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lasso_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lasso_lars.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lasso_lars_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/lasso_lars_ic.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/linear_regression.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/logistic_regression.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/logistic_regression_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/multi_task_elastic_net.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/multi_task_elastic_net_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/multi_task_lasso.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/multi_task_lasso_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/orthogonal_matching_pursuit.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/passive_aggressive_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/passive_aggressive_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/perceptron.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/poisson_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/ransac_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/ridge.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/ridge_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/ridge_classifier_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/ridge_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/sgd_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/sgd_one_class_svm.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/sgd_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/theil_sen_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/linear_model/tweedie_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/manifold/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/manifold/isomap.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/manifold/mds.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/manifold/spectral_embedding.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/manifold/tsne.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/classification.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/correlation.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/covariance.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/metrics_utils.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/ranking.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/metrics/regression.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/mixture/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/mixture/bayesian_gaussian_mixture.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/mixture/gaussian_mixture.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/model_selection/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/model_selection/grid_search_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/model_selection/randomized_search_cv.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/multiclass/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/multiclass/one_vs_one_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/multiclass/one_vs_rest_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/multiclass/output_code_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/naive_bayes/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/naive_bayes/bernoulli_nb.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/naive_bayes/categorical_nb.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/naive_bayes/complement_nb.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/naive_bayes/gaussian_nb.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/naive_bayes/multinomial_nb.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/k_neighbors_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/k_neighbors_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/kernel_density.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/local_outlier_factor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/nearest_centroid.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/nearest_neighbors.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/neighborhood_components_analysis.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/radius_neighbors_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neighbors/radius_neighbors_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neural_network/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neural_network/bernoulli_rbm.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neural_network/mlp_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/neural_network/mlp_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/parameters/disable_distributed_hpo.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/parameters/disable_model_tracer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/parameters/enable_anonymous_sproc.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/pipeline/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/binarizer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/k_bins_discretizer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/label_encoder.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/max_abs_scaler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/min_max_scaler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/normalizer.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/one_hot_encoder.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/ordinal_encoder.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/polynomial_features.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/robust_scaler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/preprocessing/standard_scaler.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/semi_supervised/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/semi_supervised/label_propagation.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/semi_supervised/label_spreading.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/linear_svc.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/linear_svr.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/nu_svc.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/nu_svr.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/svc.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/svm/svr.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/tree/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/tree/decision_tree_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/tree/decision_tree_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/tree/extra_tree_classifier.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/tree/extra_tree_regressor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/modeling/xgboost/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/_client/queries/record_count.ssql +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/_client/queries/rmse.ssql +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/_manager/model_monitor_manager.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/entities/model_monitor_config.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/model_monitor.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/model_monitor_version.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/monitoring/shap.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/registry/__init__.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/utils/authentication.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/utils/connection_params.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/utils/sparse.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/ml/utils/sql_client.py +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake_ml_python.egg-info/dependency_links.txt +0 -0
- {snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake_ml_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,32 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
-
## 1.7.
|
3
|
+
## 1.7.3
|
4
|
+
|
5
|
+
- Added lowercase versions of Cortex functions, added deprecation warning to Capitalized versions.
|
6
|
+
- Bumped the requirements of `fsspec` and `s3fs` to `>=2024.6.1,<2026`
|
7
|
+
- Bumped the requirement of `mlflow` to `>=2.16.0, <3`
|
8
|
+
- Registry: Support 500+ features for model registry
|
9
|
+
|
10
|
+
### Bug Fixes
|
11
|
+
|
12
|
+
- Registry: Fixed a bug when providing non-range index pandas DataFrame as the input to a `ModelVersion.run`.
|
13
|
+
- Registry: Improved random model version name generation to prevent collisions.
|
14
|
+
- Registry: Fix an issue when inferring signature or running inference with Snowpark data that has a column whose type
|
15
|
+
is `ARRAY` and contains `NULL` value.
|
16
|
+
- Registry: `ModelVersion.run` now accepts fully qualified service name.
|
17
|
+
- Monitoring: Fix issue in SDK with creating monitors using fully qualified names.
|
18
|
+
- Registry: Fix error in log_model for any sklearn models with only data pre-processing including pre-processing only
|
19
|
+
pipeline models due to default explainability enablement.
|
20
|
+
|
21
|
+
### Behavior Changes
|
22
|
+
|
23
|
+
### New Features
|
24
|
+
|
25
|
+
- Added `user_files` argument to `Registry.log_model` for including images or any extra file with the model.
|
26
|
+
- Registry: Added support for handling Hugging Face model configurations with auto-mapping functionality
|
27
|
+
- DataConnector: Add new `DataConnector.from_sql()` constructor
|
28
|
+
|
29
|
+
## 1.7.2 (2024-11-21)
|
4
30
|
|
5
31
|
### Bug Fixes
|
6
32
|
|
@@ -13,6 +39,7 @@ whose task is UNKNOWN and fails later when invoked.
|
|
13
39
|
|
14
40
|
- Registry: Support asynchronous model inference service creation with the `block` option
|
15
41
|
in `ModelVersion.create_service()` set to True by default.
|
42
|
+
- Registry: Allow specify `batch_size` when inferencing using sentence-transformers model.
|
16
43
|
|
17
44
|
## 1.7.1 (2024-11-05)
|
18
45
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: snowflake-ml-python
|
3
|
-
Version: 1.7.
|
3
|
+
Version: 1.7.3
|
4
4
|
Summary: The machine learning client library that is used for interacting with Snowflake to build machine learning solutions.
|
5
5
|
Author-email: "Snowflake, Inc" <support@snowflake.com>
|
6
6
|
License:
|
@@ -237,7 +237,7 @@ Requires-Dist: anyio<4,>=3.5.0
|
|
237
237
|
Requires-Dist: cachetools<6,>=3.1.1
|
238
238
|
Requires-Dist: cloudpickle>=2.0.0
|
239
239
|
Requires-Dist: cryptography
|
240
|
-
Requires-Dist: fsspec[http]<2024
|
240
|
+
Requires-Dist: fsspec[http]<2026,>=2024.6.1
|
241
241
|
Requires-Dist: importlib_resources<7,>=6.1.1
|
242
242
|
Requires-Dist: numpy<2,>=1.23
|
243
243
|
Requires-Dist: packaging<25,>=20.9
|
@@ -247,7 +247,7 @@ Requires-Dist: pyjwt<3,>=2.0.0
|
|
247
247
|
Requires-Dist: pytimeparse<2,>=1.1.8
|
248
248
|
Requires-Dist: pyyaml<7,>=6.0
|
249
249
|
Requires-Dist: retrying<2,>=1.3.3
|
250
|
-
Requires-Dist: s3fs<2024
|
250
|
+
Requires-Dist: s3fs<2026,>=2024.6.1
|
251
251
|
Requires-Dist: scikit-learn<1.6,>=1.4
|
252
252
|
Requires-Dist: scipy<2,>=1.9
|
253
253
|
Requires-Dist: snowflake-connector-python[pandas]<4,>=3.5.0
|
@@ -257,13 +257,14 @@ Requires-Dist: typing-extensions<5,>=4.1.0
|
|
257
257
|
Requires-Dist: xgboost<3,>=1.7.3
|
258
258
|
Provides-Extra: all
|
259
259
|
Requires-Dist: catboost<2,>=1.2.0; extra == "all"
|
260
|
+
Requires-Dist: huggingface_hub<0.26; extra == "all"
|
260
261
|
Requires-Dist: lightgbm<5,>=4.1.0; extra == "all"
|
261
|
-
Requires-Dist: mlflow<
|
262
|
+
Requires-Dist: mlflow<3,>=2.16.0; extra == "all"
|
262
263
|
Requires-Dist: peft<1,>=0.5.0; extra == "all"
|
263
264
|
Requires-Dist: sentence-transformers<3,>=2.2.2; extra == "all"
|
264
265
|
Requires-Dist: sentencepiece<1,>=0.1.95; extra == "all"
|
265
266
|
Requires-Dist: shap<1,>=0.46.0; extra == "all"
|
266
|
-
Requires-Dist: tensorflow<3,>=2.
|
267
|
+
Requires-Dist: tensorflow<3,>=2.12.0; extra == "all"
|
267
268
|
Requires-Dist: tokenizers<1,>=0.10; extra == "all"
|
268
269
|
Requires-Dist: torch<2.3.0,>=2.0.1; extra == "all"
|
269
270
|
Requires-Dist: torchdata<1,>=0.4; extra == "all"
|
@@ -275,15 +276,16 @@ Requires-Dist: lightgbm<5,>=4.1.0; extra == "lightgbm"
|
|
275
276
|
Provides-Extra: llm
|
276
277
|
Requires-Dist: peft<1,>=0.5.0; extra == "llm"
|
277
278
|
Provides-Extra: mlflow
|
278
|
-
Requires-Dist: mlflow<
|
279
|
+
Requires-Dist: mlflow<3,>=2.16.0; extra == "mlflow"
|
279
280
|
Provides-Extra: shap
|
280
281
|
Requires-Dist: shap<1,>=0.46.0; extra == "shap"
|
281
282
|
Provides-Extra: tensorflow
|
282
|
-
Requires-Dist: tensorflow<3,>=2.
|
283
|
+
Requires-Dist: tensorflow<3,>=2.12.0; extra == "tensorflow"
|
283
284
|
Provides-Extra: torch
|
284
285
|
Requires-Dist: torch<2.3.0,>=2.0.1; extra == "torch"
|
285
286
|
Requires-Dist: torchdata<1,>=0.4; extra == "torch"
|
286
287
|
Provides-Extra: transformers
|
288
|
+
Requires-Dist: huggingface_hub<0.26; extra == "transformers"
|
287
289
|
Requires-Dist: sentence-transformers<3,>=2.2.2; extra == "transformers"
|
288
290
|
Requires-Dist: sentencepiece<1,>=0.1.95; extra == "transformers"
|
289
291
|
Requires-Dist: tokenizers<1,>=0.10; extra == "transformers"
|
@@ -397,7 +399,33 @@ NOTE: Version 1.7.0 is used as example here. Please choose the the latest versio
|
|
397
399
|
|
398
400
|
# Release History
|
399
401
|
|
400
|
-
## 1.7.
|
402
|
+
## 1.7.3
|
403
|
+
|
404
|
+
- Added lowercase versions of Cortex functions, added deprecation warning to Capitalized versions.
|
405
|
+
- Bumped the requirements of `fsspec` and `s3fs` to `>=2024.6.1,<2026`
|
406
|
+
- Bumped the requirement of `mlflow` to `>=2.16.0, <3`
|
407
|
+
- Registry: Support 500+ features for model registry
|
408
|
+
|
409
|
+
### Bug Fixes
|
410
|
+
|
411
|
+
- Registry: Fixed a bug when providing non-range index pandas DataFrame as the input to a `ModelVersion.run`.
|
412
|
+
- Registry: Improved random model version name generation to prevent collisions.
|
413
|
+
- Registry: Fix an issue when inferring signature or running inference with Snowpark data that has a column whose type
|
414
|
+
is `ARRAY` and contains `NULL` value.
|
415
|
+
- Registry: `ModelVersion.run` now accepts fully qualified service name.
|
416
|
+
- Monitoring: Fix issue in SDK with creating monitors using fully qualified names.
|
417
|
+
- Registry: Fix error in log_model for any sklearn models with only data pre-processing including pre-processing only
|
418
|
+
pipeline models due to default explainability enablement.
|
419
|
+
|
420
|
+
### Behavior Changes
|
421
|
+
|
422
|
+
### New Features
|
423
|
+
|
424
|
+
- Added `user_files` argument to `Registry.log_model` for including images or any extra file with the model.
|
425
|
+
- Registry: Added support for handling Hugging Face model configurations with auto-mapping functionality
|
426
|
+
- DataConnector: Add new `DataConnector.from_sql()` constructor
|
427
|
+
|
428
|
+
## 1.7.2 (2024-11-21)
|
401
429
|
|
402
430
|
### Bug Fixes
|
403
431
|
|
@@ -410,6 +438,7 @@ whose task is UNKNOWN and fails later when invoked.
|
|
410
438
|
|
411
439
|
- Registry: Support asynchronous model inference service creation with the `block` option
|
412
440
|
in `ModelVersion.create_service()` set to True by default.
|
441
|
+
- Registry: Allow specify `batch_size` when inferencing using sentence-transformers model.
|
413
442
|
|
414
443
|
## 1.7.1 (2024-11-05)
|
415
444
|
|
@@ -8,7 +8,7 @@ description = "The machine learning client library that is used for interacting
|
|
8
8
|
classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Database", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Information Analysis",]
|
9
9
|
requires-python = ">=3.9, <3.12"
|
10
10
|
dynamic = [ "version", "readme",]
|
11
|
-
dependencies = [ "absl-py>=0.15,<2", "anyio>=3.5.0,<4", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "cryptography", "fsspec[http]>=
|
11
|
+
dependencies = [ "absl-py>=0.15,<2", "anyio>=3.5.0,<4", "cachetools>=3.1.1,<6", "cloudpickle>=2.0.0", "cryptography", "fsspec[http]>=2024.6.1,<2026", "importlib_resources>=6.1.1, <7", "numpy>=1.23,<2", "packaging>=20.9,<25", "pandas>=1.0.0,<3", "pyarrow", "pyjwt>=2.0.0, <3", "pytimeparse>=1.1.8,<2", "pyyaml>=6.0,<7", "retrying>=1.3.3,<2", "s3fs>=2024.6.1,<2026", "scikit-learn>=1.4,<1.6", "scipy>=1.9,<2", "snowflake-connector-python[pandas]>=3.5.0,<4", "snowflake-snowpark-python>=1.17.0,<2", "sqlparse>=0.4,<1", "typing-extensions>=4.1.0,<5", "xgboost>=1.7.3,<3",]
|
12
12
|
[[project.authors]]
|
13
13
|
name = "Snowflake, Inc"
|
14
14
|
email = "support@snowflake.com"
|
@@ -24,15 +24,15 @@ Issues = "https://github.com/snowflakedb/snowflake-ml-python/issues"
|
|
24
24
|
Changelog = "https://github.com/snowflakedb/snowflake-ml-python/blob/master/CHANGELOG.md"
|
25
25
|
|
26
26
|
[project.optional-dependencies]
|
27
|
-
all = [ "catboost>=1.2.0, <2", "lightgbm>=4.1.0, <5", "mlflow>=2.
|
27
|
+
all = [ "catboost>=1.2.0, <2", "huggingface_hub<0.26", "lightgbm>=4.1.0, <5", "mlflow>=2.16.0, <3", "peft>=0.5.0,<1", "sentence-transformers>=2.2.2,<3", "sentencepiece>=0.1.95,<1", "shap>=0.46.0,<1", "tensorflow>=2.12.0,<3", "tokenizers>=0.10,<1", "torch>=2.0.1,<2.3.0", "torchdata>=0.4,<1", "transformers>=4.32.1,<5",]
|
28
28
|
catboost = [ "catboost>=1.2.0, <2",]
|
29
29
|
lightgbm = [ "lightgbm>=4.1.0, <5",]
|
30
30
|
llm = [ "peft>=0.5.0,<1",]
|
31
|
-
mlflow = [ "mlflow>=2.
|
31
|
+
mlflow = [ "mlflow>=2.16.0, <3",]
|
32
32
|
shap = [ "shap>=0.46.0,<1",]
|
33
|
-
tensorflow = [ "tensorflow>=2.
|
33
|
+
tensorflow = [ "tensorflow>=2.12.0,<3",]
|
34
34
|
torch = [ "torch>=2.0.1,<2.3.0", "torchdata>=0.4,<1",]
|
35
|
-
transformers = [ "sentence-transformers>=2.2.2,<3", "sentencepiece>=0.1.95,<1", "tokenizers>=0.10,<1", "transformers>=4.32.1,<5",]
|
35
|
+
transformers = [ "huggingface_hub<0.26", "sentence-transformers>=2.2.2,<3", "sentencepiece>=0.1.95,<1", "tokenizers>=0.10,<1", "transformers>=4.32.1,<5",]
|
36
36
|
|
37
37
|
[tool.setuptools.package-data]
|
38
38
|
"*" = [ "*",]
|
@@ -0,0 +1,32 @@
|
|
1
|
+
from snowflake.cortex._classify_text import ClassifyText, classify_text
|
2
|
+
from snowflake.cortex._complete import Complete, CompleteOptions, complete
|
3
|
+
from snowflake.cortex._embed_text_768 import EmbedText768, embed_text_768
|
4
|
+
from snowflake.cortex._embed_text_1024 import EmbedText1024, embed_text_1024
|
5
|
+
from snowflake.cortex._extract_answer import ExtractAnswer, extract_answer
|
6
|
+
from snowflake.cortex._finetune import Finetune, FinetuneJob, FinetuneStatus
|
7
|
+
from snowflake.cortex._sentiment import Sentiment, sentiment
|
8
|
+
from snowflake.cortex._summarize import Summarize, summarize
|
9
|
+
from snowflake.cortex._translate import Translate, translate
|
10
|
+
|
11
|
+
__all__ = [
|
12
|
+
"ClassifyText",
|
13
|
+
"classify_text",
|
14
|
+
"Complete",
|
15
|
+
"complete",
|
16
|
+
"CompleteOptions",
|
17
|
+
"EmbedText768",
|
18
|
+
"embed_text_768",
|
19
|
+
"EmbedText1024",
|
20
|
+
"embed_text_1024",
|
21
|
+
"ExtractAnswer",
|
22
|
+
"extract_answer",
|
23
|
+
"Finetune",
|
24
|
+
"FinetuneJob",
|
25
|
+
"FinetuneStatus",
|
26
|
+
"Sentiment",
|
27
|
+
"sentiment",
|
28
|
+
"Summarize",
|
29
|
+
"summarize",
|
30
|
+
"Translate",
|
31
|
+
"translate",
|
32
|
+
]
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import List, Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,7 +10,7 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def classify_text(
|
12
14
|
str_input: Union[str, snowpark.Column],
|
13
15
|
categories: Union[List[str], snowpark.Column],
|
14
16
|
session: Optional[snowpark.Session] = None,
|
@@ -34,3 +36,12 @@ def _classify_text_impl(
|
|
34
36
|
session: Optional[snowpark.Session] = None,
|
35
37
|
) -> Union[str, snowpark.Column]:
|
36
38
|
return cast(Union[str, snowpark.Column], call_sql_function(function, session, str_input, categories))
|
39
|
+
|
40
|
+
|
41
|
+
ClassifyText = deprecated(
|
42
|
+
"ClassifyText() is deprecated and will be removed in a future release. Please use classify_text() instead."
|
43
|
+
)(
|
44
|
+
telemetry.send_api_usage_telemetry(
|
45
|
+
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
46
|
+
)(classify_text)
|
47
|
+
)
|
@@ -6,7 +6,7 @@ from typing import Any, Callable, Dict, Iterator, List, Optional, TypedDict, Uni
|
|
6
6
|
from urllib.parse import urlunparse
|
7
7
|
|
8
8
|
import requests
|
9
|
-
from typing_extensions import NotRequired
|
9
|
+
from typing_extensions import NotRequired, deprecated
|
10
10
|
|
11
11
|
from snowflake import snowpark
|
12
12
|
from snowflake.cortex._sse_client import SSEClient
|
@@ -127,8 +127,26 @@ def _xp_dict_to_response(raw_resp: Dict[str, Any]) -> requests.Response:
|
|
127
127
|
response.status_code = int(raw_resp["status"])
|
128
128
|
response.headers = raw_resp["headers"]
|
129
129
|
|
130
|
+
request_id = None
|
131
|
+
for key, value in raw_resp["headers"].items():
|
132
|
+
# Note: there is some whitespace in the headers making it not possible
|
133
|
+
# to directly index the header reliably.
|
134
|
+
if key.strip().lower() == "x-snowflake-request-id":
|
135
|
+
request_id = value
|
136
|
+
break
|
137
|
+
|
130
138
|
data = raw_resp["content"]
|
131
|
-
|
139
|
+
try:
|
140
|
+
data = json.loads(data)
|
141
|
+
except json.JSONDecodeError:
|
142
|
+
raise ValueError(f"Request failed (request id: {request_id})")
|
143
|
+
|
144
|
+
if response.status_code < 200 or response.status_code >= 300:
|
145
|
+
if "message" not in data:
|
146
|
+
raise ValueError(f"Request failed (request id: {request_id})")
|
147
|
+
message = data["message"]
|
148
|
+
raise ValueError(f"Request failed: {message} (request id: {request_id})")
|
149
|
+
|
132
150
|
# Convert the dictionary to a string format that resembles the SSE event format
|
133
151
|
# For example, if the dict is {'event': 'message', 'data': 'your data'}, it should be formatted like this:
|
134
152
|
sse_format_data = ""
|
@@ -144,6 +162,7 @@ def _xp_dict_to_response(raw_resp: Dict[str, Any]) -> requests.Response:
|
|
144
162
|
|
145
163
|
@retry
|
146
164
|
def _call_complete_xp(
|
165
|
+
snow_api_xp_request_handler: Optional[Callable[..., Dict[str, Any]]],
|
147
166
|
model: str,
|
148
167
|
prompt: Union[str, List[ConversationMessage]],
|
149
168
|
options: Optional[CompleteOptions] = None,
|
@@ -151,9 +170,8 @@ def _call_complete_xp(
|
|
151
170
|
) -> requests.Response:
|
152
171
|
headers = _make_common_request_headers()
|
153
172
|
body = _make_request_body(model, prompt, options)
|
154
|
-
|
155
|
-
|
156
|
-
raw_resp = _snowflake.send_snow_api_request("POST", _REST_COMPLETE_URL, {}, headers, body, {}, deadline)
|
173
|
+
assert snow_api_xp_request_handler is not None
|
174
|
+
raw_resp = snow_api_xp_request_handler("POST", _REST_COMPLETE_URL, {}, headers, body, {}, deadline)
|
157
175
|
return _xp_dict_to_response(raw_resp)
|
158
176
|
|
159
177
|
|
@@ -218,17 +236,26 @@ def _complete_call_sql_function_snowpark(
|
|
218
236
|
|
219
237
|
|
220
238
|
def _complete_non_streaming_immediate(
|
239
|
+
snow_api_xp_request_handler: Optional[Callable[..., Dict[str, Any]]],
|
221
240
|
model: str,
|
222
241
|
prompt: Union[str, List[ConversationMessage]],
|
223
242
|
options: Optional[CompleteOptions],
|
224
243
|
session: Optional[snowpark.Session] = None,
|
225
244
|
deadline: Optional[float] = None,
|
226
245
|
) -> str:
|
227
|
-
response = _complete_rest(
|
246
|
+
response = _complete_rest(
|
247
|
+
snow_api_xp_request_handler=snow_api_xp_request_handler,
|
248
|
+
model=model,
|
249
|
+
prompt=prompt,
|
250
|
+
options=options,
|
251
|
+
session=session,
|
252
|
+
deadline=deadline,
|
253
|
+
)
|
228
254
|
return "".join(response)
|
229
255
|
|
230
256
|
|
231
257
|
def _complete_non_streaming_impl(
|
258
|
+
snow_api_xp_request_handler: Optional[Callable[..., Dict[str, Any]]],
|
232
259
|
function: str,
|
233
260
|
model: Union[str, snowpark.Column],
|
234
261
|
prompt: Union[str, List[ConversationMessage], snowpark.Column],
|
@@ -246,19 +273,31 @@ def _complete_non_streaming_impl(
|
|
246
273
|
if isinstance(options, snowpark.Column):
|
247
274
|
raise ValueError("'options' cannot be a snowpark.Column when 'prompt' is a string.")
|
248
275
|
return _complete_non_streaming_immediate(
|
249
|
-
|
276
|
+
snow_api_xp_request_handler=snow_api_xp_request_handler,
|
277
|
+
model=model,
|
278
|
+
prompt=prompt,
|
279
|
+
options=options,
|
280
|
+
session=session,
|
281
|
+
deadline=deadline,
|
250
282
|
)
|
251
283
|
|
252
284
|
|
253
285
|
def _complete_rest(
|
286
|
+
snow_api_xp_request_handler: Optional[Callable[..., Dict[str, Any]]],
|
254
287
|
model: str,
|
255
288
|
prompt: Union[str, List[ConversationMessage]],
|
256
289
|
options: Optional[CompleteOptions] = None,
|
257
290
|
session: Optional[snowpark.Session] = None,
|
258
291
|
deadline: Optional[float] = None,
|
259
292
|
) -> Iterator[str]:
|
260
|
-
if
|
261
|
-
response = _call_complete_xp(
|
293
|
+
if snow_api_xp_request_handler is not None:
|
294
|
+
response = _call_complete_xp(
|
295
|
+
snow_api_xp_request_handler=snow_api_xp_request_handler,
|
296
|
+
model=model,
|
297
|
+
prompt=prompt,
|
298
|
+
options=options,
|
299
|
+
deadline=deadline,
|
300
|
+
)
|
262
301
|
else:
|
263
302
|
response = _call_complete_rest(model=model, prompt=prompt, options=options, session=session, deadline=deadline)
|
264
303
|
assert response.status_code >= 200 and response.status_code < 300
|
@@ -268,10 +307,11 @@ def _complete_rest(
|
|
268
307
|
def _complete_impl(
|
269
308
|
model: Union[str, snowpark.Column],
|
270
309
|
prompt: Union[str, List[ConversationMessage], snowpark.Column],
|
310
|
+
snow_api_xp_request_handler: Optional[Callable[..., Dict[str, Any]]] = None,
|
311
|
+
function: str = "snowflake.cortex.complete",
|
271
312
|
options: Optional[CompleteOptions] = None,
|
272
313
|
session: Optional[snowpark.Session] = None,
|
273
314
|
stream: bool = False,
|
274
|
-
function: str = "snowflake.cortex.complete",
|
275
315
|
timeout: Optional[float] = None,
|
276
316
|
deadline: Optional[float] = None,
|
277
317
|
) -> Union[str, Iterator[str], snowpark.Column]:
|
@@ -284,14 +324,29 @@ def _complete_impl(
|
|
284
324
|
raise ValueError("in REST mode, 'model' must be a string")
|
285
325
|
if not isinstance(prompt, str) and not isinstance(prompt, List):
|
286
326
|
raise ValueError("in REST mode, 'prompt' must be a string or a list of ConversationMessage")
|
287
|
-
return _complete_rest(
|
288
|
-
|
327
|
+
return _complete_rest(
|
328
|
+
snow_api_xp_request_handler=snow_api_xp_request_handler,
|
329
|
+
model=model,
|
330
|
+
prompt=prompt,
|
331
|
+
options=options,
|
332
|
+
session=session,
|
333
|
+
deadline=deadline,
|
334
|
+
)
|
335
|
+
return _complete_non_streaming_impl(
|
336
|
+
snow_api_xp_request_handler=snow_api_xp_request_handler,
|
337
|
+
function=function,
|
338
|
+
model=model,
|
339
|
+
prompt=prompt,
|
340
|
+
options=options,
|
341
|
+
session=session,
|
342
|
+
deadline=deadline,
|
343
|
+
)
|
289
344
|
|
290
345
|
|
291
346
|
@telemetry.send_api_usage_telemetry(
|
292
347
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
293
348
|
)
|
294
|
-
def
|
349
|
+
def complete(
|
295
350
|
model: Union[str, snowpark.Column],
|
296
351
|
prompt: Union[str, List[ConversationMessage], snowpark.Column],
|
297
352
|
*,
|
@@ -319,10 +374,19 @@ def Complete(
|
|
319
374
|
Returns:
|
320
375
|
A column of string responses.
|
321
376
|
"""
|
377
|
+
|
378
|
+
# Set the XP snow api function, if available.
|
379
|
+
snow_api_xp_request_handler = None
|
380
|
+
if is_in_stored_procedure(): # type: ignore[no-untyped-call]
|
381
|
+
import _snowflake
|
382
|
+
|
383
|
+
snow_api_xp_request_handler = _snowflake.send_snow_api_request
|
384
|
+
|
322
385
|
try:
|
323
386
|
return _complete_impl(
|
324
387
|
model,
|
325
388
|
prompt,
|
389
|
+
snow_api_xp_request_handler=snow_api_xp_request_handler,
|
326
390
|
options=options,
|
327
391
|
session=session,
|
328
392
|
stream=stream,
|
@@ -331,3 +395,8 @@ def Complete(
|
|
331
395
|
)
|
332
396
|
except ValueError as err:
|
333
397
|
raise err
|
398
|
+
|
399
|
+
|
400
|
+
Complete = deprecated("Complete() is deprecated and will be removed in a future release. Use complete() instead")(
|
401
|
+
telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(complete)
|
402
|
+
)
|
{snowflake_ml_python-1.7.2 → snowflake_ml_python-1.7.3}/snowflake/cortex/_embed_text_1024.py
RENAMED
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import List, Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,12 +10,12 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def embed_text_1024(
|
12
14
|
model: Union[str, snowpark.Column],
|
13
15
|
text: Union[str, snowpark.Column],
|
14
16
|
session: Optional[snowpark.Session] = None,
|
15
17
|
) -> Union[List[float], snowpark.Column]:
|
16
|
-
"""
|
18
|
+
"""Calls into the LLM inference service to embed the text.
|
17
19
|
|
18
20
|
Args:
|
19
21
|
model: A Column of strings representing the model to use for embedding. The value
|
@@ -35,3 +37,8 @@ def _embed_text_1024_impl(
|
|
35
37
|
session: Optional[snowpark.Session] = None,
|
36
38
|
) -> Union[List[float], snowpark.Column]:
|
37
39
|
return cast(Union[List[float], snowpark.Column], call_sql_function(function, session, model, text))
|
40
|
+
|
41
|
+
|
42
|
+
EmbedText1024 = deprecated(
|
43
|
+
"EmbedText1024() is deprecated and will be removed in a future release. Use embed_text_1024() instead"
|
44
|
+
)(telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(embed_text_1024))
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import List, Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,12 +10,12 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def embed_text_768(
|
12
14
|
model: Union[str, snowpark.Column],
|
13
15
|
text: Union[str, snowpark.Column],
|
14
16
|
session: Optional[snowpark.Session] = None,
|
15
17
|
) -> Union[List[float], snowpark.Column]:
|
16
|
-
"""
|
18
|
+
"""Calls into the LLM inference service to embed the text.
|
17
19
|
|
18
20
|
Args:
|
19
21
|
model: A Column of strings representing the model to use for embedding. The value
|
@@ -35,3 +37,8 @@ def _embed_text_768_impl(
|
|
35
37
|
session: Optional[snowpark.Session] = None,
|
36
38
|
) -> Union[List[float], snowpark.Column]:
|
37
39
|
return cast(Union[List[float], snowpark.Column], call_sql_function(function, session, model, text))
|
40
|
+
|
41
|
+
|
42
|
+
EmbedText768 = deprecated(
|
43
|
+
"EmbedText768() is deprecated and will be removed in a future release. Use embed_text_768() instead"
|
44
|
+
)(telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(embed_text_768))
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,12 +10,12 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def extract_answer(
|
12
14
|
from_text: Union[str, snowpark.Column],
|
13
15
|
question: Union[str, snowpark.Column],
|
14
16
|
session: Optional[snowpark.Session] = None,
|
15
17
|
) -> Union[str, snowpark.Column]:
|
16
|
-
"""
|
18
|
+
"""Calls into the LLM inference service to extract an answer from within specified text.
|
17
19
|
|
18
20
|
Args:
|
19
21
|
from_text: A Column of strings representing input text.
|
@@ -34,3 +36,8 @@ def _extract_answer_impl(
|
|
34
36
|
session: Optional[snowpark.Session] = None,
|
35
37
|
) -> Union[str, snowpark.Column]:
|
36
38
|
return cast(Union[str, snowpark.Column], call_sql_function(function, session, from_text, question))
|
39
|
+
|
40
|
+
|
41
|
+
ExtractAnswer = deprecated(
|
42
|
+
"ExtractAnswer() is deprecated and will be removed in a future release. Use extract_answer() instead"
|
43
|
+
)(telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(extract_answer))
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,10 +10,10 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def sentiment(
|
12
14
|
text: Union[str, snowpark.Column], session: Optional[snowpark.Session] = None
|
13
15
|
) -> Union[float, snowpark.Column]:
|
14
|
-
"""
|
16
|
+
"""Calls into the LLM inference service to perform sentiment analysis on the input text.
|
15
17
|
|
16
18
|
Args:
|
17
19
|
text: A Column of text strings to send to the LLM.
|
@@ -31,3 +33,8 @@ def _sentiment_impl(
|
|
31
33
|
if isinstance(output, snowpark.Column):
|
32
34
|
return output
|
33
35
|
return float(cast(str, output))
|
36
|
+
|
37
|
+
|
38
|
+
Sentiment = deprecated("Sentiment() is deprecated and will be removed in a future release. Use sentiment() instead")(
|
39
|
+
telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(sentiment)
|
40
|
+
)
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,11 +10,11 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def summarize(
|
12
14
|
text: Union[str, snowpark.Column],
|
13
15
|
session: Optional[snowpark.Session] = None,
|
14
16
|
) -> Union[str, snowpark.Column]:
|
15
|
-
"""
|
17
|
+
"""Calls into the LLM inference service to summarize the input text.
|
16
18
|
|
17
19
|
Args:
|
18
20
|
text: A Column of strings to summarize.
|
@@ -31,3 +33,8 @@ def _summarize_impl(
|
|
31
33
|
session: Optional[snowpark.Session] = None,
|
32
34
|
) -> Union[str, snowpark.Column]:
|
33
35
|
return cast(Union[str, snowpark.Column], call_sql_function(function, session, text))
|
36
|
+
|
37
|
+
|
38
|
+
Summarize = deprecated("Summarize() is deprecated and will be removed in a future release. Use summarize() instead")(
|
39
|
+
telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(summarize)
|
40
|
+
)
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import Optional, Union, cast
|
2
2
|
|
3
|
+
from typing_extensions import deprecated
|
4
|
+
|
3
5
|
from snowflake import snowpark
|
4
6
|
from snowflake.cortex._util import CORTEX_FUNCTIONS_TELEMETRY_PROJECT, call_sql_function
|
5
7
|
from snowflake.ml._internal import telemetry
|
@@ -8,13 +10,13 @@ from snowflake.ml._internal import telemetry
|
|
8
10
|
@telemetry.send_api_usage_telemetry(
|
9
11
|
project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT,
|
10
12
|
)
|
11
|
-
def
|
13
|
+
def translate(
|
12
14
|
text: Union[str, snowpark.Column],
|
13
15
|
from_language: Union[str, snowpark.Column],
|
14
16
|
to_language: Union[str, snowpark.Column],
|
15
17
|
session: Optional[snowpark.Session] = None,
|
16
18
|
) -> Union[str, snowpark.Column]:
|
17
|
-
"""
|
19
|
+
"""Calls into the LLM inference service to perform translation.
|
18
20
|
|
19
21
|
Args:
|
20
22
|
text: A Column of strings to translate.
|
@@ -37,3 +39,8 @@ def _translate_impl(
|
|
37
39
|
session: Optional[snowpark.Session] = None,
|
38
40
|
) -> Union[str, snowpark.Column]:
|
39
41
|
return cast(Union[str, snowpark.Column], call_sql_function(function, session, text, from_language, to_language))
|
42
|
+
|
43
|
+
|
44
|
+
Translate = deprecated("Translate() is deprecated and will be removed in a future release. Use translate() instead")(
|
45
|
+
telemetry.send_api_usage_telemetry(project=CORTEX_FUNCTIONS_TELEMETRY_PROJECT)(translate)
|
46
|
+
)
|