Skip to main content

Auditrail Software Development Kit (SDK) for Python

Project description

auditrail-sdk

Auditrail’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 Auditrail, or to your existing observability stack.

Auditrail.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auditrail_sdk-0.49.5.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

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

auditrail_sdk-0.49.5-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file auditrail_sdk-0.49.5.tar.gz.

File metadata

  • Download URL: auditrail_sdk-0.49.5.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for auditrail_sdk-0.49.5.tar.gz
Algorithm Hash digest
SHA256 d41cba0b3f438dcb08a90e37e3277b0720c8735e7997046558fec38d44387201
MD5 324d8b10775d5d1bafb95e7742f7fe4d
BLAKE2b-256 dd858f7c5c1131b13f0b1d7220d2df0cd85538bc92a9d973c563357ecd458d42

See more details on using hashes here.

File details

Details for the file auditrail_sdk-0.49.5-py3-none-any.whl.

File metadata

  • Download URL: auditrail_sdk-0.49.5-py3-none-any.whl
  • Upload date:
  • Size: 51.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for auditrail_sdk-0.49.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cf1dfdad3a92454752322ac42fbdb5c526b6a900c4ce8ac8979a860c7409a228
MD5 393a366258bce0a7de94a14bcad99b55
BLAKE2b-256 63d9d09782aa473d10a3b0eb0c6035dde2e9a66876fc67ebcaa18f5c3b28252a

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