diff --git a/packages/ragbits-cli/CHANGELOG.md b/packages/ragbits-cli/CHANGELOG.md index ba6bb2c6..70283b46 100644 --- a/packages/ragbits-cli/CHANGELOG.md +++ b/packages/ragbits-cli/CHANGELOG.md @@ -2,6 +2,16 @@ ## Unreleased +## 0.5.0 (2024-12-05) + +### Added + +- Add global flag to specify output type: text or json (#232). + +### Changed + +- ragbits-core updated to version v0.5.0 + ## 0.4.0 (2024-11-27) ### Changed diff --git a/packages/ragbits-cli/pyproject.toml b/packages/ragbits-cli/pyproject.toml index 8df21c02..8619f098 100644 --- a/packages/ragbits-cli/pyproject.toml +++ b/packages/ragbits-cli/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-cli" -version = "0.4.0" +version = "0.5.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.4.0"] +dependencies = ["typer>=0.12.5", "ragbits-core==0.5.0"] [project.urls] "Homepage" = "https://github.com/deepsense-ai/ragbits" diff --git a/packages/ragbits-core/CHANGELOG.md b/packages/ragbits-core/CHANGELOG.md index 5073bca6..0658d1e0 100644 --- a/packages/ragbits-core/CHANGELOG.md +++ b/packages/ragbits-core/CHANGELOG.md @@ -2,8 +2,15 @@ ## Unreleased -## 0.4.0 (2024-11-27) +## 0.5.0 (2024-12-05) + +### Added +- Default LLM factory when configuration is not provided (#209). +- Add remove operation to VectorStore (#210). +- Install litellm package by default (#236). + +## 0.4.0 (2024-11-27) ### Added diff --git a/packages/ragbits-core/pyproject.toml b/packages/ragbits-core/pyproject.toml index fb3280ed..7dc477bc 100644 --- a/packages/ragbits-core/pyproject.toml +++ b/packages/ragbits-core/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-core" -version = "0.4.0" +version = "0.5.0" description = "Building blocks for rapid development of GenAI applications" readme = "README.md" requires-python = ">=3.10" diff --git a/packages/ragbits-core/src/ragbits/core/embeddings/__init__.py b/packages/ragbits-core/src/ragbits/core/embeddings/__init__.py index 5ad6c218..0af979f8 100644 --- a/packages/ragbits-core/src/ragbits/core/embeddings/__init__.py +++ b/packages/ragbits-core/src/ragbits/core/embeddings/__init__.py @@ -3,9 +3,10 @@ from ragbits.core.utils.config_handling import get_cls_from_config from .base import Embeddings, EmbeddingType +from .litellm import LiteLLMEmbeddings from .noop import NoopEmbeddings -__all__ = ["EmbeddingType", "Embeddings", "NoopEmbeddings"] +__all__ = ["EmbeddingType", "Embeddings", "LiteLLMEmbeddings", "NoopEmbeddings"] module = sys.modules[__name__] diff --git a/packages/ragbits-document-search/CHANGELOG.md b/packages/ragbits-document-search/CHANGELOG.md index 98253500..e761a204 100644 --- a/packages/ragbits-document-search/CHANGELOG.md +++ b/packages/ragbits-document-search/CHANGELOG.md @@ -2,6 +2,18 @@ ## Unreleased +## 0.5.0 (2024-12-05) + +### Added + +- Distributed ingestion with usage of https://www.ray.io/ (#207) +- Documents can be now replaced in existing VectorStore (#210) + +### Changed + +- ragbits-core updated to version v0.5.0 +- Providers are now loaded dynamically (#219) + ## 0.4.0 (2024-11-27) ### Added diff --git a/packages/ragbits-document-search/pyproject.toml b/packages/ragbits-document-search/pyproject.toml index df3a12db..b57c5596 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.4.0" +version = "0.5.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.4.0"] +dependencies = ["unstructured>=0.15.13", "unstructured-client>=0.26.0", "pdf2image>=1.17.0", "ragbits-core==0.5.0"] [project.urls] "Homepage" = "https://github.com/deepsense-ai/ragbits" diff --git a/packages/ragbits-evaluate/CHANGELOG.md b/packages/ragbits-evaluate/CHANGELOG.md index b622324c..7b3a2db3 100644 --- a/packages/ragbits-evaluate/CHANGELOG.md +++ b/packages/ragbits-evaluate/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 0.5.0 (2024-12-05) + +### Changed + +- ragbits-core updated to version v0.5.0 + ## 0.4.0 (2024-11-27) ### Added diff --git a/packages/ragbits-evaluate/pyproject.toml b/packages/ragbits-evaluate/pyproject.toml index d391184c..287aa0a3 100644 --- a/packages/ragbits-evaluate/pyproject.toml +++ b/packages/ragbits-evaluate/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-evaluate" -version = "0.4.0" +version = "0.5.0" description = "Evaluation module for Ragbits components" readme = "README.md" requires-python = ">=3.10" @@ -32,7 +32,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["hydra-core~=1.3.2", "neptune~=1.12.0", "optuna==4.0.0", "distilabel==1.4.1", "ragbits-core==0.4.0"] +dependencies = ["hydra-core~=1.3.2", "neptune~=1.12.0", "optuna==4.0.0", "distilabel==1.4.1", "ragbits-core==0.5.0"] [project.urls] "Homepage" = "https://github.com/deepsense-ai/ragbits" diff --git a/packages/ragbits-guardrails/CHANGELOG.md b/packages/ragbits-guardrails/CHANGELOG.md index 41676acc..72986f3b 100644 --- a/packages/ragbits-guardrails/CHANGELOG.md +++ b/packages/ragbits-guardrails/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 0.5.0 (2024-12-05) + +### Changed + +- ragbits-core updated to version v0.5.0 + ## 0.4.0 (2024-11-27) ### Changed diff --git a/packages/ragbits-guardrails/pyproject.toml b/packages/ragbits-guardrails/pyproject.toml index 15df195c..a53c2774 100644 --- a/packages/ragbits-guardrails/pyproject.toml +++ b/packages/ragbits-guardrails/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits-guardrails" -version = "0.4.0" +version = "0.5.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.4.0"] +dependencies = ["ragbits-core==0.5.0"] [project.urls] "Homepage" = "https://github.com/deepsense-ai/ragbits" diff --git a/packages/ragbits/CHANGELOG.md b/packages/ragbits/CHANGELOG.md index 607343a8..dd3a9286 100644 --- a/packages/ragbits/CHANGELOG.md +++ b/packages/ragbits/CHANGELOG.md @@ -2,6 +2,23 @@ ## Unreleased +## 0.5.0 (2024-12-05) + +### Changed + +- ragbits-cli updated to version v0.5.0 + - Add global flag to specify output type: text or json (#232). +- ragbits-document-search updated to version v0.5.0 + - Distributed ingestion with usage of https://www.ray.io/ (#207) + - Documents can be now replaced in existing VectorStore (#210) + - Providers are now loaded dynamically (#219) +- ragbits-evaluate updated to version v0.5.0 +- ragbits-guardrails updated to version v0.5.0 +- ragbits-core updated to version v0.5.0 + - Default LLM factory when configuration is not provided (#209). + - Add remove operation to VectorStore (#210). + - Install litellm package by default (#236). + ## 0.4.0 (2024-11-27) ### Changed diff --git a/packages/ragbits/pyproject.toml b/packages/ragbits/pyproject.toml index ae6b7f46..9b1a500e 100644 --- a/packages/ragbits/pyproject.toml +++ b/packages/ragbits/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ragbits" -version = "0.4.0" +version = "0.5.0" description = "Building blocks for rapid development of GenAI applications" dynamic = ["readme"] requires-python = ">=3.10" @@ -31,7 +31,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Libraries :: Python Modules", ] -dependencies = ["ragbits-document-search==0.4.0", "ragbits-cli==0.4.0", "ragbits-evaluate==0.4.0", "ragbits-guardrails==0.4.0", "ragbits-core==0.4.0"] +dependencies = ["ragbits-document-search==0.5.0", "ragbits-cli==0.5.0", "ragbits-evaluate==0.5.0", "ragbits-guardrails==0.5.0", "ragbits-core==0.5.0"] [project.urls] "Homepage" = "https://github.com/deepsense-ai/ragbits" @@ -72,6 +72,9 @@ qdrant = [ relari = [ "continuous-eval~=0.3.12", ] +distributed = [ + "ray>=2.39.0", +] [build-system] requires = ["hatchling", "hatch-fancy-pypi-readme"] diff --git a/uv.lock b/uv.lock index 8c6e5972..dca23c56 100644 --- a/uv.lock +++ b/uv.lock @@ -2514,8 +2514,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]] @@ -3323,6 +3321,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 }, @@ -3805,7 +3805,7 @@ wheels = [ [[package]] name = "ragbits-cli" -version = "0.4.0" +version = "0.5.0" source = { editable = "packages/ragbits-cli" } dependencies = [ { name = "ragbits-core" }, @@ -3820,7 +3820,7 @@ requires-dist = [ [[package]] name = "ragbits-core" -version = "0.4.0" +version = "0.5.0" source = { editable = "packages/ragbits-core" } dependencies = [ { name = "jinja2" }, @@ -3889,7 +3889,7 @@ dev = [ [[package]] name = "ragbits-document-search" -version = "0.4.0" +version = "0.5.0" source = { editable = "packages/ragbits-document-search" } dependencies = [ { name = "pdf2image" }, @@ -3942,7 +3942,7 @@ dev = [ [[package]] name = "ragbits-evaluate" -version = "0.4.0" +version = "0.5.0" source = { editable = "packages/ragbits-evaluate" } dependencies = [ { name = "distilabel" }, @@ -3987,7 +3987,7 @@ dev = [ [[package]] name = "ragbits-guardrails" -version = "0.4.0" +version = "0.5.0" source = { editable = "packages/ragbits-guardrails" } dependencies = [ { name = "ragbits-core" },