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.53.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.53-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file composo-0.2.53.tar.gz.

File metadata

  • Download URL: composo-0.2.53.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.53.tar.gz
Algorithm Hash digest
SHA256 6ef55dcb9aac0afc353d15e23733b37533d861daf7b7ec07d757edfa36087c42
MD5 f270223ff66bad680523c3fca6d2f5ea
BLAKE2b-256 7b34e7beb59711cc64939edff1d3f6afd795548e903b5eebda6b31551437d90c

See more details on using hashes here.

File details

Details for the file composo-0.2.53-py3-none-any.whl.

File metadata

  • Download URL: composo-0.2.53-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for composo-0.2.53-py3-none-any.whl
Algorithm Hash digest
SHA256 d0e16678cd95656642deb471564f5a5cb4a70e5ef9d7bb2eab8b40ea3f6968df
MD5 6eb9247f6b864c51b4e964e6988e536f
BLAKE2b-256 53820e837798d7984a923578469fad597905a58d78138f082888ab283faa26a7

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