Skip to content

Commit 2cf1654

Browse files
authored
fix: update TLMOptions link reused by cleanlab-codex to absolute (#67)
* update TLMOptions link reused by cleanlab-codex to absolute * bump version and update changelog * update changelog
1 parent 39ade97 commit 2cf1654

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.1.5] - 2025-06-03
11+
12+
- Update link in docstring
13+
1014
## [1.1.4] - 2025-05-30
1115

1216
### Changed
@@ -32,25 +36,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3236

3337
### Changed
3438

35-
- Improved validation + error messages for TLM's `custom_eval_criteria`.
39+
- Improved validation + error messages for TLM's `custom_eval_criteria`.
3640
- Changed TLMOptions text in docs to have link to TLMOptions class
3741

3842
## [1.1.0] - 2025-04-21
3943

40-
### Changed
44+
### Changed
4145

4246
- All `.prompt()` / `.get_trustworthiness_score()` / `.generate()` / `.score()` methods will now catch any errors and return `null` values alongside a log of why the exception occurred
4347
- `try_` methods are deprecated and will share the same functionality as the "non-try" methods
4448

4549
## [1.0.22] - 2025-04-18
4650

47-
### Added
51+
### Added
4852

4953
- Update `response_helpfulness` default criteria
5054

5155
## [1.0.21] - 2025-04-17
5256

53-
### Added
57+
### Added
5458

5559
- Add new OpenAI models: `gpt-4.1`, `gpt-4.1-mini`, `gpt-4.1-nano`, `o3`, `o4-mini`
5660

@@ -162,7 +166,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
162166

163167
- Release of the Cleanlab TLM Python client.
164168

165-
[Unreleased]: https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.4...HEAD
169+
[Unreleased]: https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.5...HEAD
170+
[1.1.5]: https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.4...v1.1.5
166171
[1.1.4]: https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.3...v1.1.4
167172
[1.1.3]: https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.2...v1.1.3
168173
[1.1.2]: https://github.com/cleanlab/cleanlab-tlm/compare/v1.1.1...v1.1.2

src/cleanlab_tlm/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# SPDX-License-Identifier: MIT
2-
__version__ = "1.1.4"
2+
__version__ = "1.1.5"

src/cleanlab_tlm/tlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class TLM(BaseTLM):
7979
- "classification": for classification tasks, where the response is a categorical prediction. \
8080
When using this task type, `constrain_outputs` must be provided in the `prompt()` and `get_trustworthiness_score()` methods.
8181
- "code_generation": for code generation tasks.
82-
- For Retrieval-Augmented Generation (RAG) tasks: try using [TrustworthyRAG](/tlm/use-cases/tlm_rag) instead of a TLM object (TrustworthyRAG has trust scoring configurations optimized for RAG).
82+
- For Retrieval-Augmented Generation (RAG) tasks: try using [TrustworthyRAG](/tlm/use-cases/tlm_rag) instead of a TLM object (TrustworthyRAG has trust scoring configurations optimized for RAG).
8383
8484
options ([TLMOptions](#class-tlmoptions), optional): a typed dict of configurations you can optionally specify.
8585
Available options (keys in this dict) include "model", "max_tokens",

src/cleanlab_tlm/utils/rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ class EvalMetric(TypedDict):
710710
score (float, optional): score between 0-1 corresponding to the evaluation metric.
711711
A higher score indicates a higher rating for the specific evaluation criteria being measured.
712712
713-
log (dict, optional): additional logs and metadata, reported only if the `log` key was specified in [TLMOptions](../tlm/#class-tlmoptions).
713+
log (dict, optional): additional logs and metadata, reported only if the `log` key was specified in [TLMOptions](/tlm/api/python/tlm/#class-tlmoptions).
714714
"""
715715

716716
score: Optional[float]

0 commit comments

Comments
 (0)