semvec/pypi-packages huggingface dataset:
auditrail-sdk 0.49.5
Auditrail Software Development Kit (SDK) for Python
License: Apache-2.0
Requires Python: <4,>=3.9

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

```python
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
```