A framework-agnostic Python library to seamlessly integrate Apache Cassandra with ML/LLM/genAI workloads.
Note: this is currently an alpha release.
Installation is as simple as:
pip install cassio
For example usages and integration with higher-level LLM frameworks such as LangChain, please visit cassio.org.
To develop cassio
, use the requirements-dev.txt
.
To use the dev version in an integration (e.g. your branch of LangChain),
pip install -e .
in thiscassio
repo;pip install -e .
in the LangChaincassio
branch of this fork;- plus any additional requirement files specific to the examples you're running (such as Jupyter).
# (bump version & commit ...)
python setup.py sdist bdist_wheel
twine upload dist/*
# (login to PyPI ...)
In a virtualenv with the requirements-dev.txt
installed, run:
pytest
(there's not ... much yet in the way of testing).