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.49.6.tar.gz (36.6 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.49.6-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for traceloop_sdk-0.49.6.tar.gz
Algorithm Hash digest
SHA256 73f028dec517eac7d927dbac8cbfea144e321d862f1b3cfe05d4e079bfb14c2c
MD5 366d6148c4c5a47435cab43a03c1c87e
BLAKE2b-256 48d3abeb78a20eef02b2f8c05753cdf99f0331e3a64f0415ea4623a8018788eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for traceloop_sdk-0.49.6.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.49.6-py3-none-any.whl.

File metadata

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

File hashes

Hashes for traceloop_sdk-0.49.6-py3-none-any.whl
Algorithm Hash digest
SHA256 01dba7ebac91d578314d1678cea46246d420d3993c5d8f6759c16e6830fcae31
MD5 ef49006bdf9e20b761be16fadcaa94b7
BLAKE2b-256 f5a30b4bff6447c82fec245f890d978e0174371a3685b1d298caa55165b5f205

See more details on using hashes here.

Provenance

The following attestation bundles were made for traceloop_sdk-0.49.6-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