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.0.51.tar.gz
(9.5 kB
view details)
Built Distribution
File details
Details for the file traceloop_sdk-0.0.51.tar.gz
.
File metadata
- Download URL: traceloop_sdk-0.0.51.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773b45bd843b3e90caddaef34eee95286069c53b27ae0814cff881e07a493721 |
|
MD5 | ec5ed4f461b9eda9e202455ac8008f24 |
|
BLAKE2b-256 | 17a812d617e9b9d311a82e40b9678b2a576be401088026cca507d67897f1a870 |
File details
Details for the file traceloop_sdk-0.0.51-py3-none-any.whl
.
File metadata
- Download URL: traceloop_sdk-0.0.51-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c1e9d24f7dc2d7f2ebc82980429b1bd74077eae6d63c93f4171de2b3712892a |
|
MD5 | 6d2f65ef8dfb4ffc576051ec09280c65 |
|
BLAKE2b-256 | aff3fb62a873eb6c116778a255bcf8901f2fc782915b9120753fb6c4672a6f0b |