Fondant

Latest version: v1.0.0

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.10.1

What's Changed
* Add small fixes by GeorgesLorre in https://github.com/ml6team/fondant/pull/831
* fix typos by andres-vv in https://github.com/ml6team/fondant/pull/837
* Create simple storage writer by mrchtr in https://github.com/ml6team/fondant/pull/826
* Update fondant install command in the readme by mrchtr in https://github.com/ml6team/fondant/pull/833
* Add reusable write to file component to getting started examples by mrchtr in https://github.com/ml6team/fondant/pull/839
* Fix code inspection notebook by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/832
* Install only test deps before running tox by RobbeSneyders in https://github.com/ml6team/fondant/pull/840


**Full Changelog**: https://github.com/ml6team/fondant/compare/0.10.0...0.10.1

0.10.0

🪶 Lightweight components to easily develop and iterate new components

We now support building lightweight components. This is currently the easiest way to get you started in building your own custom components. Lightweight components remove the need to specifying custom files for building components (requirements, Dockerfile, component specification) compared to containerized components.

python
import pandas as pd
import pyarrow as pa
from fondant.component import PandasTransformComponent
from fondant.pipeline import lightweight_component

lightweight_component(produces={"z": pa.int32()})
class AddNumber(PandasTransformComponent):
def __init__(self, n: int):
self.n = n

def transform(self, dataframe: pd.DataFrame) -> pd.DataFrame:
dataframe["z"] = dataframe["x"].map(lambda x: x + self.n)
return dataframe

Lightweight Components are constructed by decorating Python functions with the lightweight_component decorator. The decorator transforms your function into a Fondant components where they can be run on both local and remote runners. 🚀

Some of the benefits of those components are:

**⏩ Reduced development efforts**

Decrease the amount of work needed to develop a component, this is especially relevant for simpler components that perform simple tasks (e.g., filtering a column on a certain value).

**🔄 Accelerated iterations**

With the component script integrated inline within your code, the development and iteration process becomes significantly faster.

**🛠️ Customization**

Despite their lightweight nature, these components remain flexible. Users can still customize them as needed by incorporating extra requirements, specifying a custom image, and more.

Checkout our new [guide](https://fondant.ai/en/latest/components/lightweight_components/#optimizing-loaded-data) for more details.

🚥 RAG Component updates
- Added support to create embeddings using an external module instead of having to provide your own embeddings. More info [here](https://github.com/ml6team/fondant/tree/main/components/index_weaviate)
- Enabledr hybrid search and reranking to the [weaviate retrieve component](https://github.com/ml6team/fondant/tree/main/components/retrieve_from_weaviate)

What's Changed
* Support applying Lightweight Python components in Pipeline SDK by GeorgesLorre in https://github.com/ml6team/fondant/pull/770
* Add support to run lightweight python components in docker runner by RobbeSneyders in https://github.com/ml6team/fondant/pull/786
* Enable testing index Weaviate by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/790
* Cleanup and add more tests by GeorgesLorre in https://github.com/ml6team/fondant/pull/792
* Make embeddings optional in weaviate component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/791
* Integrate argument inference by RobbeSneyders in https://github.com/ml6team/fondant/pull/788
* Enable hybrid search by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/794
* Enable reranking by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/796
* Bump kfp version and enable python 3.11 by GeorgesLorre in https://github.com/ml6team/fondant/pull/800
* Support lightweight Python components on Sagemaker by RobbeSneyders in https://github.com/ml6team/fondant/pull/804
* Validation for lightweight components by mrchtr in https://github.com/ml6team/fondant/pull/793
* Update caching arguments to include `ComponentOp` and the `Image` class by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/802
* Feature/kfp support for lightweight components by GeorgesLorre in https://github.com/ml6team/fondant/pull/803
* Add initial docs on Python Components by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/812
* Add fondant base image by mrchtr in https://github.com/ml6team/fondant/pull/801
* Update getting started guide by mrchtr in https://github.com/ml6team/fondant/pull/816
* Update lightweight docs by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/817
* Simplify component init interface by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/819
* Enable build of fondant dev base image by mrchtr in https://github.com/ml6team/fondant/pull/818
* Simplify component naming by GeorgesLorre in https://github.com/ml6team/fondant/pull/815
* Enable write components to cache by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/814
* Remove datacomp pipeline reference by mrchtr in https://github.com/ml6team/fondant/pull/822
* Fix Readme script generation by GeorgesLorre in https://github.com/ml6team/fondant/pull/821
* Fix component readme generation by GeorgesLorre in https://github.com/ml6team/fondant/pull/828
* Use fondant dev image if fondant dev version is installed by mrchtr in https://github.com/ml6team/fondant/pull/820
* Start from dataset schema for lightweight python component `consumes` by RobbeSneyders in https://github.com/ml6team/fondant/pull/789
* Update lightweight docs by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/827
* Add produces to lightweight component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/829


**Full Changelog**: https://github.com/ml6team/fondant/compare/0.9.0...0.10.0

0.10.dev0

What's Changed
* Support applying Lightweight Python components in Pipeline SDK by GeorgesLorre in https://github.com/ml6team/fondant/pull/770
* Add support to run lightweight python components in docker runner by RobbeSneyders in https://github.com/ml6team/fondant/pull/786
* Enable testing index Weaviate by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/790
* Cleanup and add more tests by GeorgesLorre in https://github.com/ml6team/fondant/pull/792
* Make embeddings optional in weaviate component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/791
* Integrate argument inference by RobbeSneyders in https://github.com/ml6team/fondant/pull/788
* Enable hybrid search by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/794
* Enable reranking by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/796


**Full Changelog**: https://github.com/ml6team/fondant/compare/0.9.0...0.10.dev0

0.9.0

And let us know what you think!



What's Changed
* Update README.md by CarolineAdam in https://github.com/ml6team/fondant/pull/726
* Sagemaker doc small update by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/733
* Add logs to weaviate by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/734
* Revert broken test link by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/739
* Add missing explorer screenshots by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/743
* Fix retry mechanism embedding component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/736
* Minor adjustments pipeline docstring by mrchtr in https://github.com/ml6team/fondant/pull/738
* Update generic readme generation by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/737
* Consistent component naming by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/745
* Make data explorer non-blocking with docker compose by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/731
* Include information on dynamic fields by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/744
* Unify operation and component spec by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/741
* Add component to index aws opensearch by shub-kris in https://github.com/ml6team/fondant/pull/740
* Add named links to hub page by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/746
* Propagate dataset schema eagerly by RobbeSneyders in https://github.com/ml6team/fondant/pull/748
* Generalize chunk data component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/757
* Accept actual type instead of string representation in Argument class by RobbeSneyders in https://github.com/ml6team/fondant/pull/761
* Add env var to force amd platform on docker runner by GeorgesLorre in https://github.com/ml6team/fondant/pull/760
* Fix readme generation by RobbeSneyders in https://github.com/ml6team/fondant/pull/764
* Add component argument inference by RobbeSneyders in https://github.com/ml6team/fondant/pull/763
* Add teardown method by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/767
* Add load from pdf component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/765
* Fix ragas component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/759
* Fixing data type in chunk_text component by mrchtr in https://github.com/ml6team/fondant/pull/772
* Add teardown method to components by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/773
* Handle docker compose errors by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/769
* Move integration test into examples by mrchtr in https://github.com/ml6team/fondant/pull/756
* Add availability check for docker and docker compose. by mrchtr in https://github.com/ml6team/fondant/pull/742
* Fixes by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/776
* Move cloud auth to sdk by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/779
* Fix load from pdf component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/778
* Fix typo ragas by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/781
* Add RAG blogpost announcement by mrchtr in https://github.com/ml6team/fondant/pull/777
* Handle nested strings in explorer by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/766

New Contributors
* CarolineAdam made their first contribution in https://github.com/ml6team/fondant/pull/726
* shub-kris made their first contribution in https://github.com/ml6team/fondant/pull/740

**Full Changelog**: https://github.com/ml6team/fondant/compare/0.8.0...0.9.0

0.9.dev2

What's Changed
* Move cloud auth to sdk by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/779
* Fix load from pdf component by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/778


**Full Changelog**: https://github.com/ml6team/fondant/compare/0.9.dev1...0.9.dev2

0.9.dev1

What's Changed
* Move integration test into examples by mrchtr in https://github.com/ml6team/fondant/pull/756
* Add availability check for docker and docker compose. by mrchtr in https://github.com/ml6team/fondant/pull/742
* Fixes by PhilippeMoussalli in https://github.com/ml6team/fondant/pull/776


**Full Changelog**: https://github.com/ml6team/fondant/compare/0.9.dev0...0.9.dev1

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.