From 107fc4e275cbad2c7ef83bf5ceb59a0e3d9950a9 Mon Sep 17 00:00:00 2001 From: Kai Chappell Date: Tue, 3 Feb 2026 17:31:14 +0000 Subject: [PATCH] docs(changelog): add semantic similarity entries --- changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index 237379d..117a96f 100644 --- a/changelog.md +++ b/changelog.md @@ -26,3 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Constraint validators: `LengthValidator`, `ReadabilityValidator`, `ContainsValidator`, `ExcludesValidator` - Composite validators: `AllOf` (all checks must pass), `AnyOf` (any check must pass) - Factory functions for clean validator API (`bleu()`, `rouge()`, `lexical()`, `length()`, `readability()`, `contains()`, `excludes()`, `all_of()`, `any_of()`) +- Semantic similarity module with embedding-based text comparison (requires `veritext[semantic]` extra) +- `SemanticSimilarity` metric using sentence-transformers for semantic relatedness +- `SemanticValidator` for threshold-based semantic similarity validation +- `semantic()` factory function for creating semantic validators +- Embedding caching for performance optimisation in repeated comparisons