From 7110b1043dce90f3f0a8684e237c55e4d94c6986 Mon Sep 17 00:00:00 2001 From: Jakub Walaszczyk Date: Tue, 7 Jul 2026 09:57:56 +0200 Subject: [PATCH 1/2] Release 0.9.2 Signed-off-by: Jakub Walaszczyk Assisted-by: Claude Code --- ai4rag/__init__.py | 2 +- docs/about/changelog.md | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ai4rag/__init__.py b/ai4rag/__init__.py index 401603df..f8d39440 100644 --- a/ai4rag/__init__.py +++ b/ai4rag/__init__.py @@ -5,7 +5,7 @@ import logging import os -__version__ = "0.9.1" +__version__ = "0.9.2" logger = logging.getLogger("ai4rag") logger.setLevel(os.getenv("LOG_LEVEL", "INFO")) diff --git a/docs/about/changelog.md b/docs/about/changelog.md index 141eb30a..270ff478 100644 --- a/docs/about/changelog.md +++ b/docs/about/changelog.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [0.9.2](https://github.com/IBM/ai4rag/releases/tag/v0.9.2) + +### Added +- `chunk_sizes` parameter on `prepare_search_space_report()` for constraining the chunk-size dimension of the search space (e.g. `[256, 512]`) + +### Changed +- Chunking constraint validation (`chunking_methods`, `chunk_sizes`) now happens via Pydantic before any I/O, providing clearer error messages with exact field paths +- Minimum allowed chunk size lowered from 512 to 128, enabling finer-grained chunking strategies +- Duplicate values in `chunking_methods` and `chunk_sizes` are now automatically deduplicated + +--- + ## [0.9.1](https://github.com/IBM/ai4rag/releases/tag/v0.9.1) ### Fixed From ed843fe90e4ae92bdfaf9b90c3192ee3ae1ac98a Mon Sep 17 00:00:00 2001 From: Jakub Walaszczyk Date: Tue, 7 Jul 2026 10:01:46 +0200 Subject: [PATCH 2/2] Update documentation Signed-off-by: Jakub Walaszczyk Assisted-by: Claude Code --- docs/user-guide/pipeline-components.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user-guide/pipeline-components.md b/docs/user-guide/pipeline-components.md index c8d93cf5..df636ac2 100644 --- a/docs/user-guide/pipeline-components.md +++ b/docs/user-guide/pipeline-components.md @@ -122,6 +122,8 @@ report = prepare_search_space_report( ogx_client=client, embedding_models=["ibm/slate-125m-english-rtrvr"], generation_models=["ibm/granite-3.1-8b-instruct"], + chunking_methods=["recursive"], # optional: constrain chunking methods + chunk_sizes=[256, 512, 1024], # optional: constrain chunk sizes ) report.save_yaml("/tmp/search_space.yaml") ```