diff --git a/.gitignore b/.gitignore index 0f181039..b35330b9 100644 --- a/.gitignore +++ b/.gitignore @@ -95,3 +95,5 @@ dist/ # examples chroma/ + +.aider* diff --git a/packages/ragbits-cli/CHANGELOG.md b/packages/ragbits-cli/CHANGELOG.md index 862a878f..7f9ae61c 100644 --- a/packages/ragbits-cli/CHANGELOG.md +++ b/packages/ragbits-cli/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 0.3.0 (2024-11-06) + +### Changed + +- ragbits-core updated to version v0.3.0 + ## 0.2.0 (2024-10-23) ### Changed diff --git a/packages/ragbits-cli/pyproject.toml b/packages/ragbits-cli/pyproject.toml index b0150db2..17c4f0c1 100644 --- a/packages/ragbits-cli/pyproject.toml +++ b/packages/ragbits-cli/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-cli" -version = "0.2.0" +version = "0.3.0" description = "A CLI application for ragbits - building blocks for rapid development of GenAI applications" readme = "README.md" requires-python = ">=3.10" @@ -31,7 +31,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["typer>=0.12.5", "ragbits-core==0.2.0"] +dependencies = ["typer>=0.12.5", "ragbits-core==0.3.0"] [project.scripts] ragbits = "ragbits.cli:main" diff --git a/packages/ragbits-core/CHANGELOG.md b/packages/ragbits-core/CHANGELOG.md index 965bf59d..ec61f0d5 100644 --- a/packages/ragbits-core/CHANGELOG.md +++ b/packages/ragbits-core/CHANGELOG.md @@ -2,9 +2,20 @@ ## Unreleased +## 0.3.0 (2024-11-06) + +### Added + +- Observability toolset, with initial support to export traces to OpenTelemetry (#168) +- CLI commands to render / exec prompts (#146) +- Support of images in Prompt abstractions (#149) +- Support for different MetadataStores in VectorStore (#144) +- Now LLMs can be configured separately for vision, text and structured. (#153) + ### Changed - refactor: Add dynamic loading for modules that depend on optional dependencies (#148). +- refactor: Refactor vector store public API. (#151) ## 0.2.0 (2024-10-23) diff --git a/packages/ragbits-core/pyproject.toml b/packages/ragbits-core/pyproject.toml index 2271fb8e..5ed2672f 100644 --- a/packages/ragbits-core/pyproject.toml +++ b/packages/ragbits-core/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-core" -version = "0.2.0" +version = "0.3.0" description = "Building blocks for rapid development of GenAI applications" readme = "README.md" requires-python = ">=3.10" diff --git a/packages/ragbits-document-search/CHANGELOG.md b/packages/ragbits-document-search/CHANGELOG.md index a9d29cba..2fc6dddf 100644 --- a/packages/ragbits-document-search/CHANGELOG.md +++ b/packages/ragbits-document-search/CHANGELOG.md @@ -2,9 +2,20 @@ ## Unreleased +## 0.3.0 (2024-11-06) + +### Added + +- Add location metadata to documents ingested into DocumentSearch (#122). +- Add LiteLLM Reranker (#109). + + ### Changed +- ragbits-core updated to version v0.3.0 - refactor: Add dynamic loading for modules that depend on optional dependencies (#148). +- refactor: change the type in from_source method to Source (#156). +- refactor: unified API for text representations of Element models (#171). ## 0.2.0 (2024-10-23) diff --git a/packages/ragbits-document-search/pyproject.toml b/packages/ragbits-document-search/pyproject.toml index 5488d552..d0e1db25 100644 --- a/packages/ragbits-document-search/pyproject.toml +++ b/packages/ragbits-document-search/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-document-search" -version = "0.2.0" +version = "0.3.0" description = "Document Search module for Ragbits" readme = "README.md" requires-python = ">=3.10" @@ -31,7 +31,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["unstructured>=0.15.13", "unstructured-client>=0.26.0", "pdf2image>=1.17.0", "ragbits-core==0.2.0"] +dependencies = ["unstructured>=0.15.13", "unstructured-client>=0.26.0", "pdf2image>=1.17.0", "ragbits-core==0.3.0"] [project.optional-dependencies] gcs = [ diff --git a/packages/ragbits-evaluate/CHANGELOG.md b/packages/ragbits-evaluate/CHANGELOG.md index 8d112be7..111e54ac 100644 --- a/packages/ragbits-evaluate/CHANGELOG.md +++ b/packages/ragbits-evaluate/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 0.3.0 (2024-11-06) + +### Changed + +- ragbits-core updated to version v0.3.0 + ## 0.2.0 (2024-10-23) - Initial release of the package. diff --git a/packages/ragbits-evaluate/pyproject.toml b/packages/ragbits-evaluate/pyproject.toml index a0dd39f0..b85de759 100644 --- a/packages/ragbits-evaluate/pyproject.toml +++ b/packages/ragbits-evaluate/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-evaluate" -version = "0.2.0" +version = "0.3.0" description = "Evaluation module for Ragbits components" readme = "README.md" requires-python = ">=3.10" @@ -31,7 +31,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["hydra-core~=1.3.2", "neptune~=1.12.0", "ragbits-core==0.2.0"] +dependencies = ["hydra-core~=1.3.2", "neptune~=1.12.0", "ragbits-core==0.3.0"] [project.optional-dependencies] relari = [ diff --git a/packages/ragbits-guardrails/CHANGELOG.md b/packages/ragbits-guardrails/CHANGELOG.md index e69de29b..5d2f786e 100644 --- a/packages/ragbits-guardrails/CHANGELOG.md +++ b/packages/ragbits-guardrails/CHANGELOG.md @@ -0,0 +1,11 @@ +# CHANGELOG + +## Unreleased + +## 0.3.0 (2024-11-06) + +### Added + +- Initial release of the package (#169). +- First guardrail with OpenAI Moderation. + diff --git a/packages/ragbits-guardrails/pyproject.toml b/packages/ragbits-guardrails/pyproject.toml index d398e8b0..ea1e6ddb 100644 --- a/packages/ragbits-guardrails/pyproject.toml +++ b/packages/ragbits-guardrails/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-guardrails" -version = "0.2.0" +version = "0.3.0" description = "Guardrails module for Ragbits components" readme = "README.md" requires-python = ">=3.10" @@ -31,7 +31,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["ragbits-core==0.2.0"] +dependencies = ["ragbits-core==0.3.0"] [project.optional-dependencies] openai = [ diff --git a/packages/ragbits/CHANGELOG.md b/packages/ragbits/CHANGELOG.md index 8baefb11..bc24aa87 100644 --- a/packages/ragbits/CHANGELOG.md +++ b/packages/ragbits/CHANGELOG.md @@ -2,9 +2,33 @@ ## Unreleased +## 0.3.0 (2024-11-06) + +### Added + +- ragbits-guardrails v0.3.0: + - Initial release of the package (#169). + - First guardrail with OpenAI Moderation. + ### Changed -- Introduce ruff as linter and code formatter (#87). +- ragbits-cli updated to version v0.3.0 +- ragbits-document-search updated to version v0.3.0 + - Add location metadata to documents ingested into DocumentSearch (#122). + - Add LiteLLM Reranker (#109). + - ragbits-core updated to version v0.3.0 + - refactor: Add dynamic loading for modules that depend on optional dependencies (#148). + - refactor: change the type in from_source method to Source (#156). + - refactor: unified API for text representations of Element models (#171). +- ragbits-evaluate updated to version v0.3.0 +- ragbits-core updated to version v0.3.0 + - Observability toolset, with initial support to export traces to OpenTelemetry (#168) + - CLI commands to render / exec prompts (#146) + - Support of images in Prompt abstractions (#149) + - Support for different MetadataStores in VectorStore (#144) + - Now LLMs can be configured separately for vision, text and structured. (#153) + - refactor: Add dynamic loading for modules that depend on optional dependencies (#148). + - refactor: Refactor vector store public API. (#151) ## 0.2.0 (2024-10-23) diff --git a/packages/ragbits/pyproject.toml b/packages/ragbits/pyproject.toml index 8535989f..f886e7af 100644 --- a/packages/ragbits/pyproject.toml +++ b/packages/ragbits/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits" -version = "0.2.0" +version = "0.3.0" description = "Building blocks for rapid development of GenAI applications" dynamic = ["readme"] requires-python = ">=3.10" @@ -32,10 +32,11 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ - "ragbits-document-search==0.2.0", - "ragbits-cli==0.2.0", - "ragbits-evaluate==0.2.0", - "ragbits-core==0.2.0" + "ragbits-document-search==0.3.0", + "ragbits-cli==0.3.0", + "ragbits-evaluate==0.3.0", + "ragbits-guardrails==0.3.0", + "ragbits-core==0.3.0" ] [build-system] diff --git a/uv.lock b/uv.lock index aa5c2cbe..4747c499 100644 --- a/uv.lock +++ b/uv.lock @@ -2327,8 +2327,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/bc/f7/7ec7fddc92e50714ea3745631f79bd9c96424cb2702632521028e57d3a36/multiprocess-0.70.16-py310-none-any.whl", hash = "sha256:c4a9944c67bd49f823687463660a2d6daae94c289adff97e0f9d696ba6371d02", size = 134824 }, { url = "https://files.pythonhosted.org/packages/50/15/b56e50e8debaf439f44befec5b2af11db85f6e0f344c3113ae0be0593a91/multiprocess-0.70.16-py311-none-any.whl", hash = "sha256:af4cabb0dac72abfb1e794fa7855c325fd2b55a10a44628a3c1ad3311c04127a", size = 143519 }, { url = "https://files.pythonhosted.org/packages/0a/7d/a988f258104dcd2ccf1ed40fdc97e26c4ac351eeaf81d76e266c52d84e2f/multiprocess-0.70.16-py312-none-any.whl", hash = "sha256:fc0544c531920dde3b00c29863377f87e1632601092ea2daca74e4beb40faa2e", size = 146741 }, - { url = "https://files.pythonhosted.org/packages/ea/89/38df130f2c799090c978b366cfdf5b96d08de5b29a4a293df7f7429fa50b/multiprocess-0.70.16-py38-none-any.whl", hash = "sha256:a71d82033454891091a226dfc319d0cfa8019a4e888ef9ca910372a446de4435", size = 132628 }, - { url = "https://files.pythonhosted.org/packages/da/d9/f7f9379981e39b8c2511c9e0326d212accacb82f12fbfdc1aa2ce2a7b2b6/multiprocess-0.70.16-py39-none-any.whl", hash = "sha256:a0bafd3ae1b732eac64be2e72038231c1ba97724b60b09400d68f229fcc2fbf3", size = 133351 }, ] [[package]] @@ -3106,6 +3104,8 @@ version = "6.0.0" source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/18/c7/8c6872f7372eb6a6b2e4708b88419fb46b857f7a2e1892966b851cc79fc9/psutil-6.0.0.tar.gz", hash = "sha256:8faae4f310b6d969fa26ca0545338b21f73c6b15db7c4a8d934a5482faa818f2", size = 508067 } wheels = [ + { url = "https://files.pythonhosted.org/packages/c5/66/78c9c3020f573c58101dc43a44f6855d01bbbd747e24da2f0c4491200ea3/psutil-6.0.0-cp27-none-win32.whl", hash = "sha256:02b69001f44cc73c1c5279d02b30a817e339ceb258ad75997325e0e6169d8b35", size = 249766 }, + { url = "https://files.pythonhosted.org/packages/e1/3f/2403aa9558bea4d3854b0e5e567bc3dd8e9fbc1fc4453c0aa9aafeb75467/psutil-6.0.0-cp27-none-win_amd64.whl", hash = "sha256:21f1fb635deccd510f69f485b87433460a603919b45e2a324ad65b0cc74f8fb1", size = 253024 }, { url = "https://files.pythonhosted.org/packages/0b/37/f8da2fbd29690b3557cca414c1949f92162981920699cd62095a984983bf/psutil-6.0.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:c588a7e9b1173b6e866756dde596fd4cad94f9399daf99ad8c3258b3cb2b47a0", size = 250961 }, { url = "https://files.pythonhosted.org/packages/35/56/72f86175e81c656a01c4401cd3b1c923f891b31fbcebe98985894176d7c9/psutil-6.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ed2440ada7ef7d0d608f20ad89a04ec47d2d3ab7190896cd62ca5fc4fe08bf0", size = 287478 }, { url = "https://files.pythonhosted.org/packages/19/74/f59e7e0d392bc1070e9a70e2f9190d652487ac115bb16e2eff6b22ad1d24/psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fd9a97c8e94059b0ef54a7d4baf13b405011176c3b6ff257c247cae0d560ecd", size = 290455 }, @@ -3542,22 +3542,16 @@ wheels = [ [[package]] name = "ragbits" -version = "0.2.0" +version = "0.0.1" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "ragbits-cli" }, - { name = "ragbits-core" }, - { name = "ragbits-document-search" }, - { name = "ragbits-evaluate" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/d4/9c/c5a704e364e5d02aeb00746a486910392373a1eb511ec0efc8e8360551b1/ragbits-0.2.0.tar.gz", hash = "sha256:12a1ab581a92fccb49b57528a41056966d400af01dc858005ff5ba22aecf6ce1", size = 2320 } +sdist = { url = "https://files.pythonhosted.org/packages/21/f7/4dfc757e4d7adff14a8fad9989f47a88c063ca88456d0525d0d5d3593f54/ragbits-0.0.1.tar.gz", hash = "sha256:673b663730ee2ef0d2813ffe1d1619f3ce5042748a4c02c094c787f499f4c886", size = 1378 } wheels = [ - { url = "https://files.pythonhosted.org/packages/19/bf/aa5f9f35b24047466cb2fdc065e095d0c609d22004801309e51b402a8211/ragbits-0.2.0-py3-none-any.whl", hash = "sha256:ce690c17a6fcbff402781bdc568df39dfc7f07566c542cd206fb5a631c9ecbb9", size = 1185 }, + { url = "https://files.pythonhosted.org/packages/96/e1/2cef0ba62827617ebcd183ebe3a7b3ca7cfee8d45f99c953b4db005b9a88/ragbits-0.0.1-py2.py3-none-any.whl", hash = "sha256:101ef35803f4b78b600b7381cf8f3c86f18018fa54156055d9b6e95f708475bf", size = 1354 }, ] [[package]] name = "ragbits-cli" -version = "0.2.0" +version = "0.3.0" source = { editable = "packages/ragbits-cli" } dependencies = [ { name = "ragbits-core" }, @@ -3572,7 +3566,7 @@ requires-dist = [ [[package]] name = "ragbits-core" -version = "0.2.0" +version = "0.3.0" source = { editable = "packages/ragbits-core" } dependencies = [ { name = "jinja2" }, @@ -3639,7 +3633,7 @@ dev = [ [[package]] name = "ragbits-document-search" -version = "0.2.0" +version = "0.3.0" source = { editable = "packages/ragbits-document-search" } dependencies = [ { name = "pdf2image" }, @@ -3688,7 +3682,7 @@ dev = [ [[package]] name = "ragbits-evaluate" -version = "0.2.0" +version = "0.3.0" source = { editable = "packages/ragbits-evaluate" } dependencies = [ { name = "hydra-core" }, @@ -3729,7 +3723,7 @@ dev = [ [[package]] name = "ragbits-guardrails" -version = "0.2.0" +version = "0.3.0" source = { editable = "packages/ragbits-guardrails" } dependencies = [ { name = "ragbits-core" },