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.
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.4.0.tar.gz
(218.0 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.4.0-py3-none-any.whl
(45.4 kB
view details)
File details
Details for the file composo-0.4.0.tar.gz.
File metadata
- Download URL: composo-0.4.0.tar.gz
- Upload date:
- Size: 218.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41efa5f54341707c40fd4513160db05cf68031e6fe5d944ddcbee93710ccae01
|
|
| MD5 |
856bdc49f447641eac758e4a5a17c045
|
|
| BLAKE2b-256 |
175b48c4af8d6aa04de965083b4c85ae807c5f977a9fbc508552fcfd87ecc590
|
File details
Details for the file composo-0.4.0-py3-none-any.whl.
File metadata
- Download URL: composo-0.4.0-py3-none-any.whl
- Upload date:
- Size: 45.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b26f974e62394039802b218c501707971de0997ebf23d4cd364daaf3a9eb60c
|
|
| MD5 |
61adff394f87d912770b75353b339b92
|
|
| BLAKE2b-256 |
0e4fd027037332aa55a292302bfc1db6b87cff08997cd891f1c039a63967bd34
|