Skip to main content

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.50b20260310221726.tar.gz (214.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

composo-0.2.50b20260310221726-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

Details for the file composo-0.2.50b20260310221726.tar.gz.

File metadata

  • Download URL: composo-0.2.50b20260310221726.tar.gz
  • Upload date:
  • Size: 214.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for composo-0.2.50b20260310221726.tar.gz
Algorithm Hash digest
SHA256 1daf864229ce991b9225892fe02ef0f4bae2fe9fbf123803d2e6a588828eff79
MD5 89987b8ba3679bfb72ee80ce2d74379c
BLAKE2b-256 9485ff1f571c6aee6c6d7917d142ab47326e84b183a515a699054e9eae6089c6

See more details on using hashes here.

File details

Details for the file composo-0.2.50b20260310221726-py3-none-any.whl.

File metadata

File hashes

Hashes for composo-0.2.50b20260310221726-py3-none-any.whl
Algorithm Hash digest
SHA256 cbbf862f8e516fbc4f21c036240a1d8a7d9ab34f7e9c248cf875d2cbbabb2658
MD5 ed9fb469af4f4a376894e0a8fef19d08
BLAKE2b-256 0329b051323cccd2f3a647af2d89a98e20b71fdc6700b0a9d2ef1450efacdb72

See more details on using hashes here.

Supported by

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