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.52.tar.gz (215.3 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.52-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: composo-0.2.52.tar.gz
  • Upload date:
  • Size: 215.3 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.52.tar.gz
Algorithm Hash digest
SHA256 aa6340a5e7ac9bbc42227eb9289411eb0aca108dedb9a2be001b4721e0d9be3e
MD5 370d5c402cbc46bb42e4d00c22e45292
BLAKE2b-256 1c410f499a49c4c912a156f602671c65d2c96369b5dc007865cba87734680a14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: composo-0.2.52-py3-none-any.whl
  • Upload date:
  • Size: 44.6 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.52-py3-none-any.whl
Algorithm Hash digest
SHA256 e96ee965364f277b69ed616aa792d0db0cbe63de109f0ad265ee9c11754499bb
MD5 34b2e7f8cc11c1c579cc41dacbebac4c
BLAKE2b-256 0582ec41f9b5012b965976a085b6c8241619bc28e382379945c23214ccd9e685

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