Skip to main content

Traceloop Software Development Kit (SDK) for Python

Project description

traceloop-sdk

Traceloop’s Python SDK allows you to easily start monitoring and debugging your LLM execution. Tracing is done in a non-intrusive way, built on top of OpenTelemetry. You can choose to export the traces to Traceloop, or to your existing observability stack.

Traceloop.init(app_name="joke_generation_service")

@workflow(name="joke_creation")
def create_joke():
    completion = openai.ChatCompletion.create(
        model="gpt-3.5-turbo",
        messages=[{"role": "user", "content": "Tell me a joke about opentelemetry"}],
    )

    return completion.choices[0].message.content

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

traceloop_sdk-0.59.1.tar.gz (339.3 kB view details)

Uploaded Source

Built Distribution

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

traceloop_sdk-0.59.1-py3-none-any.whl (88.8 kB view details)

Uploaded Python 3

File details

Details for the file traceloop_sdk-0.59.1.tar.gz.

File metadata

  • Download URL: traceloop_sdk-0.59.1.tar.gz
  • Upload date:
  • Size: 339.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for traceloop_sdk-0.59.1.tar.gz
Algorithm Hash digest
SHA256 7e3f2feea99948d693ac56911d743016cbb4e4c65a234fdd06b4a76b5b6d24ee
MD5 4c59c36439776695b3ebf65998db7d83
BLAKE2b-256 8981d69d981b55cba0e268c49c24ae21303c821f3e14fa8dadaf27a72e9e5e26

See more details on using hashes here.

Provenance

The following attestation bundles were made for traceloop_sdk-0.59.1.tar.gz:

Publisher: release.yml on traceloop/openllmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file traceloop_sdk-0.59.1-py3-none-any.whl.

File metadata

  • Download URL: traceloop_sdk-0.59.1-py3-none-any.whl
  • Upload date:
  • Size: 88.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for traceloop_sdk-0.59.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce74a78ba64a79fef46d09970b3ceaea5097c940d3ec5824a798d63ab172defc
MD5 49c9f1bdce12e73b36ca4d59a23e49eb
BLAKE2b-256 e029358b0d8f98f13cc7e14c97de0d4a1a2d50f56a0fa1d0b3910f759f438e44

See more details on using hashes here.

Provenance

The following attestation bundles were made for traceloop_sdk-0.59.1-py3-none-any.whl:

Publisher: release.yml on traceloop/openllmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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