Composo Python SDK
Project description
Composo Python SDK
Composo provides a Python SDK for evaluating LLM applications.
Installation
pip install composo
Quick Start
from composo import Composo
composo_client = Composo()
result = composo_client.evaluate(
messages=[
{"role": "user", "content": "Hello"},
{"role": "assistant", "content": "Hello! How can I help you today?"}
],
criteria="Reward responses that are friendly"
)
print(f"Score: {result.score}")
print(f"Explanation: {result.explanation}")
Documentation
For detailed documentation, API reference, examples, and guides, please visit docs.composo.ai.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
composo-0.2.48.tar.gz
(26.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
composo-0.2.48-py3-none-any.whl
(37.8 kB
view details)
File details
Details for the file composo-0.2.48.tar.gz.
File metadata
- Download URL: composo-0.2.48.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c9e7d773548103c71d7c72c2546a441e58a9381c194ff18fee1480d1e1c9b8b
|
|
| MD5 |
0f9d914767cedec23e968f2d586c3bb4
|
|
| BLAKE2b-256 |
26392c69e42f1469aa9419763270bb060b0edf1d5de663176dc8bdc72246fe7b
|
File details
Details for the file composo-0.2.48-py3-none-any.whl.
File metadata
- Download URL: composo-0.2.48-py3-none-any.whl
- Upload date:
- Size: 37.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad695bced1ac25b231008fe4526a4920617788ee90164d597eb352287d408136
|
|
| MD5 |
681ad4728d7857f163e5cae936a3927b
|
|
| BLAKE2b-256 |
787135f71785a523fcc4b6927f92081b3222bc453549105df86e61bb5852253a
|