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.2.tar.gz
(15.0 kB
view details)
Built Distribution
File details
Details for the file traceloop_sdk-0.13.2.tar.gz
.
File metadata
- Download URL: traceloop_sdk-0.13.2.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 | c88482186729fa000a42eab8dc70c3a8cb6d6b1bd9c26833d095d36c8cf12c55 |
|
MD5 | 49c1eb9c82375c4d99704ae36b4d7c19 |
|
BLAKE2b-256 | ddcbabf212539b3273d4273799878b0688506a4010726257961469d30ff93409 |
File details
Details for the file traceloop_sdk-0.13.2-py3-none-any.whl
.
File metadata
- Download URL: traceloop_sdk-0.13.2-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 | c09109206968490ced2f0e435d16fac2efef295fa464b4a4a42b50adcdac38bd |
|
MD5 | 67a22e31c35ad8075304b12c55a3a3b3 |
|
BLAKE2b-256 | 4d0c304a9033b9081c5333dbba852f9171f9693966ae5f7dd29159936ad68731 |