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.33.3.tar.gz
(19.9 kB
view details)
Built Distribution
File details
Details for the file traceloop_sdk-0.33.3.tar.gz
.
File metadata
- Download URL: traceloop_sdk-0.33.3.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d484a18befa642691790357514c71ec44e5185976738263a764fb3c579681e7 |
|
MD5 | d4bd104b20e0a87a51b9c1f0aa6e30f3 |
|
BLAKE2b-256 | 9c0829683c82dcebeb0551044ce1151d3a9754e77b1201743fef7c1ac440a195 |
File details
Details for the file traceloop_sdk-0.33.3-py3-none-any.whl
.
File metadata
- Download URL: traceloop_sdk-0.33.3-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d015237b00f4b5fa6103e0715293dbe9aeb33299a2500ccfc61aa5837cc62053 |
|
MD5 | dcfd00f3f5278cee5841342a060503aa |
|
BLAKE2b-256 | 529a0345f22f2a9a469d537253d7c24a76d5066c664c41a1523498e5825a8164 |