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.51b20260420155315.tar.gz (215.2 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.51b20260420155315-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

Details for the file composo-0.2.51b20260420155315.tar.gz.

File metadata

  • Download URL: composo-0.2.51b20260420155315.tar.gz
  • Upload date:
  • Size: 215.2 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.51b20260420155315.tar.gz
Algorithm Hash digest
SHA256 c732efa17b7f7712e77dee3725f1142b4105dba54c87b02152d950f93e2553d7
MD5 790fcbbbbe544bc84aadec46fd2d8261
BLAKE2b-256 24ce61ba303a0239aa1ce1fdd078e541c737e6cddcedd1e6d92cb612ab1d7b19

See more details on using hashes here.

File details

Details for the file composo-0.2.51b20260420155315-py3-none-any.whl.

File metadata

File hashes

Hashes for composo-0.2.51b20260420155315-py3-none-any.whl
Algorithm Hash digest
SHA256 b9ac9e84176849d1f9f5ced46bcd5dcc47f5cbd1b952a3a0f0e7f85e7744e403
MD5 0553a68e7b1727541666052af2a1c877
BLAKE2b-256 c00d33086aabc64d3964ac3159cccf16b322c5ce1a660c6c2d5bf944dbd0cda0

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