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 details)
Built Distribution
File details
Details for the file chaincrafter-0.1.0.tar.gz
.
File metadata
- Download URL: chaincrafter-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a6e29d16aa046621b4cbfc4cedc1781f16b2e4541b7dd859a687ee9ae4be5b |
|
MD5 | b676f1a392d4c76e74a9719f8c093aa0 |
|
BLAKE2b-256 | 02775db88524cc439a7bffdb06fb4e190ebc9957ce6d7242f00df788210371db |
File details
Details for the file chaincrafter-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: chaincrafter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cae476ecf9cc62da2d32ddf1de91b97292882d57f2608e402669a98ddf5cfa9 |
|
MD5 | 5bbfe7b18d5b96aeb01ca24489586a4b |
|
BLAKE2b-256 | ff11dffe0aff456e7f9ee501f79c61201f8dc0a185323b717ac34aff123659b5 |