File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10- ## [ 1.1.24] - 2025-04-17
10+ ## [ 1.1.25] - 2025-08-12
11+
12+ ### Added
13+
14+ - Add support for explanations for VPC ChatCompletion module
15+
16+ ### Fixed
17+
18+ - Unittest logic for quality preset changes
19+ - Typing in ` chat.py ` for new ` openai ` versions
20+
21+ ## [ 1.1.24] - 2025-08-07
1122
1223### Added
1324
@@ -305,7 +316,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
305316- Release of the Cleanlab TLM Python client.
306317
307318
308- [ Unreleased ] : https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.24...HEAD
319+ [ Unreleased ] : https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.25...HEAD
320+ [ 1.1.25 ] : https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.24...v1.1.25
309321[ 1.1.24 ] : https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.23...v1.1.24
310322[ 1.1.23 ] : https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.22...v1.1.23
311323[ 1.1.22 ] : https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.21...v1.1.22
Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: MIT
2- __version__ = "1.1.24 "
2+ __version__ = "1.1.25 "
Original file line number Diff line number Diff line change @@ -99,5 +99,8 @@ def score(
9999 )
100100
101101 res_json = res .json ()
102+ tlm_result = {"trustworthiness_score" : res_json ["tlm_metadata" ]["trustworthiness_score" ]}
103+ if explanation := res_json ["tlm_metadata" ].get ("log" , {}).get ("explanation" ):
104+ tlm_result ["log" ] = {"explanation" : explanation }
102105
103- return { "trustworthiness_score" : res_json [ "tlm_metadata" ][ "trustworthiness_score" ]}
106+ return tlm_result
You can’t perform that action at this time.
0 commit comments