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.13.0.tar.gz
(15.0 kB
view details)
Built Distribution
File details
Details for the file traceloop_sdk-0.13.0.tar.gz
.
File metadata
- Download URL: traceloop_sdk-0.13.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1138e51703ed8dadd88c96f00663a3c5ad6910105563a936d0e9884869be022 |
|
MD5 | 80395b368bc295b36ae5eacd062af618 |
|
BLAKE2b-256 | cff7641ef6a1b65331df0dc57937561b10872e7d375d2c0f20760420da2bc169 |
File details
Details for the file traceloop_sdk-0.13.0-py3-none-any.whl
.
File metadata
- Download URL: traceloop_sdk-0.13.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e56adbc3314c78a134cc3c67c6b50c3c2e5603ca34cd3ee15a5bff0218081500 |
|
MD5 | 1484f8820261fc15fc9b8a52f5f3de05 |
|
BLAKE2b-256 | 03c27d07faf4e3dca21510eb79374c16f32fead5ecce133b4f59a68e2b842bab |