Skip to main content

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.2.0.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

chaincrafter-0.2.0-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page