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.14.1.tar.gz
(15.0 kB
view details)
Built Distribution
File details
Details for the file traceloop_sdk-0.14.1.tar.gz
.
File metadata
- Download URL: traceloop_sdk-0.14.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0932f830393ee43baea484c59c58c3f0cc4c8559f774c6585a69e4f5dc34552d |
|
MD5 | 9f848f28e4b84553b7239dbb2f067a62 |
|
BLAKE2b-256 | 6d39d734274ac26fbd9225e092432b6739fae55c0e36e267ee29d7c446d1c7e7 |
File details
Details for the file traceloop_sdk-0.14.1-py3-none-any.whl
.
File metadata
- Download URL: traceloop_sdk-0.14.1-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e201b62927c6b654c340a81c7dda516d05a5ffe89dc125f05e8302fcc3069da5 |
|
MD5 | da074219405a7c6191a5d1b0b0b49153 |
|
BLAKE2b-256 | ddcf5374b16816bf1cf111f774832d7ae2e96e3b6fb96d8ccfef346780e76bc0 |