diff --git a/api/app/models/metrics/model_quality_dto.py b/api/app/models/metrics/model_quality_dto.py index 677de3a..90d853f 100644 --- a/api/app/models/metrics/model_quality_dto.py +++ b/api/app/models/metrics/model_quality_dto.py @@ -202,6 +202,8 @@ class TokenData(BaseModel): message_content: str probs: List[TokenProb] + model_config = ConfigDict(populate_by_name=True, alias_generator=to_camel) + class MeanPerFile(BaseModel): prob_tot_mean: float diff --git a/sdk/radicalbit_platform_sdk/models/dataset_model_quality.py b/sdk/radicalbit_platform_sdk/models/dataset_model_quality.py index c87296e..912fbbb 100644 --- a/sdk/radicalbit_platform_sdk/models/dataset_model_quality.py +++ b/sdk/radicalbit_platform_sdk/models/dataset_model_quality.py @@ -201,6 +201,8 @@ class TokenData(BaseModel): message_content: str probs: List[TokenProb] + model_config = ConfigDict(populate_by_name=True, alias_generator=to_camel) + class MeanPerFile(BaseModel): prob_tot_mean: float