New:
- Auth tokens are now cached in file system and get re-authenticated in a parallel fashion.
- Invalid refresh token now triggers a reauth instead of crashing.
- build_preset option in :py:class:`ModelConfiguration<ansys.simai.core.data.model_configuration.ModelConfiguration>` can now be one of debug, 1_day, 2_days, 7_days.
- Model Evaluation Report data (csv file) can now be downloaded with :py:meth:`download_mer_data<ansys.simai.core.data.workspaces.Workspace.download_mer_data>`.
- Typing improvements; introducing JSON type is introduced and APIResponse type is updated to include JSON type.
- New property :py:meth:`Prediction.raw_confidence_score<ansys.simai.core.data.predictions.Prediction.raw_confidence_score>` is added to :py:class:`Prediction<ansys.simai.core.data.predictions.Prediction>`, which returns the raw confidence score.
Fix:
- Fixed the error where :py:meth:`data<ansys.simai.core.data.post_processings.GlobalCoefficients.data>` was not in coordinance with the BE response. :py:meth:`data<ansys.simai.core.data.post_processings.GlobalCoefficients.data>` now runs without errors.
New:
- Added :py:class:`PostProcessInput<ansys.simai.core.data.model_configuration.PostProcessInput>` class to define post processing input fields.
- Added support for NaN and Inf for Global Coefficients and Post Processings.
Fixes:
- Removed compute argument from :py:meth:`TrainingData.upload_folder()<ansys.simai.core.data.training_data.TrainingData.upload_folder>`
- Fixed Model Configuration to raise a ProcessingError when volume field is missing from a sample specifying volume output.
- Removed wakepy error mode success (deprecated) during optimization.
- Renamed TrainingData method compute() to :py:meth:`TrainingData.extract_data()<ansys.simai.core.data.training_data.TrainingData.extract_data>`.
- Updated documentation of :py:meth:`GeometryDirectory.upload()<ansys.simai.core.data.geometries.GeometryDirectory.upload>`: the
workspace_id
argument was moved toworkspace
but never updated.
New:
- Added support for the postprocessing of custom volume of point cloud. Use :py:meth:`Geometry.upload_point_cloud<ansys.simai.core.data.geometries.Geometry.upload_point_cloud>` to upload a point cloud file on a geometry and run the post processing through :py:meth:`Prediction.post.custom_volume_point_cloud<ansys.simai.core.data.post_processings.PredictionPostProcessings.custom_volume_point_cloud>` to run the postprocessing.
Fix:
- Remove internal uses of deprecated workspace.model
Fixes:
- Fixed bug that was crashing method :py:meth:`ModelConfiguration.compute_global_coefficient()<ansys.simai.core.data.model_configuration.ModelConfiguration.compute_global_coefficient>`. The result of the Global Coefficient formula can now be retrieved.
New:
- Model configuration can now be created from scratch and be used in training requests.
- Training-data subsets can now be assigned to None. Options Ignored and Validation are retired.
Fixes:
- Fixed bug when uploading large files. Large files can now be uploaded.
- Fixed bug when listing prediction without current_workspace being set.
New:
- Added :py:class:`DomainOfAnalysis<ansys.simai.core.data.model_configuration.DomainOfAnalysis>` class to help set the domain of analysis on a new model.
- Add workspace option where we previously relied only on the global workspace
- Add prediction.post.list()
Fixes:
- Reestablish python 3.9 compatibility.
- Bump wakepy lib to fix errors when not able to prevent sleep during optimization.
New:
- Added new method :py:meth:`TrainingData.assign_subset()<ansys.simai.core.data.training_data.TrainingData.assign_subset>` that allows you to assign a Train, Validation, or Test subset to your data.
Fixes:
- The method :py:meth:`Optimization.run()<ansys.simai.core.data.optimizations.OptimizationDirectory.run>` now raises an exception if no workspace is provided and none is configured.
- Fix RecursionError on authentication refresh
- Training can now be launched using the most recent model configuration from a project.
- Enabled non-interactive mode capability, allowing for automation or operations without manual inputs.
- Added new validation :py:meth:`Project.is_trainable()<ansys.simai.core.data.projects.Project.is_trainable>` to verify if the project meets all minimum requirements for training.
- Added new method :py:meth:`Project.get_variables()<ansys.simai.core.data.projects.Project.get_variables>` to get all available variables used for a model's inputs and outputs.
- Fixed bug where a subset of training data could not be pulled. A subset of training data is now correctly retrieved.
- Fixed erroneous call to a private function during the optimization run.
- Less verbose sse disconnects
- Fix client config vars being described two times
- Fix type/KeyError in workspace.model.post_processings
- Fix monitor_callback interface not respected in upload_file_with_presigned_post
- Fix README indentation
Fix config args not taken into account if a config file is not found
Fix training data upload_folder method
Fix badges
Initial release