Seamless integration and composability for large language model apps.
Project description
chaincrafter - Python
Local Development
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
To test different models, install the packages required, for example with OpenAI, run pip install openai
.
The imports for the models should be part of the __init__
or the complete
method of the ChatModel
class.
Build and Publish
cd /path/to/chaincrafter/python
pip install build
python -m build
pip install twine
# test upload
twine upload -r testpypi dist/*
# upload
twine upload dist/*
Testing in another package
python setup.py sdist
# install the package in another project
pip install /path/to/chaincrafter/python/dist/chaincrafter-0.1.0.tar.gz
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chaincrafter-0.1.0.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for chaincrafter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cae476ecf9cc62da2d32ddf1de91b97292882d57f2608e402669a98ddf5cfa9 |
|
MD5 | 5bbfe7b18d5b96aeb01ca24489586a4b |
|
BLAKE2b-256 | ff11dffe0aff456e7f9ee501f79c61201f8dc0a185323b717ac34aff123659b5 |