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.12.tar.gz
(19.8 kB
view details)
Built Distribution
File details
Details for the file traceloop_sdk-0.33.12.tar.gz
.
File metadata
- Download URL: traceloop_sdk-0.33.12.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999ae50b1e5773b2802a8b3e8585c3826b7867bba032a88b6f30ec2727225dda |
|
MD5 | cd5293fac69cac1d670daf775b2ea336 |
|
BLAKE2b-256 | 7e0dd7d413e9fe907a8abc33e6f93044484d158722b5ca0bfe22e1ef9ad4e729 |
Provenance
The following attestation bundles were made for traceloop_sdk-0.33.12.tar.gz
:
Publisher: GitHub
- Repository: traceloop/openllmetry
- Workflow: release.yml
-
Statement type: https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
traceloop_sdk-0.33.12.tar.gz
- Subject digest:
999ae50b1e5773b2802a8b3e8585c3826b7867bba032a88b6f30ec2727225dda
- Transparency log index: 148749601
- Transparency log integration time:
- Predicate type:
File details
Details for the file traceloop_sdk-0.33.12-py3-none-any.whl
.
File metadata
- Download URL: traceloop_sdk-0.33.12-py3-none-any.whl
- Upload date:
- Size: 25.9 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 | d47a474afbf4a68ff38a702dbaca7b17d2d4f0b0e14dc2f1560b6bdd3859ac75 |
|
MD5 | 2b3720f2bae1f45841d7cb358d1aa3c3 |
|
BLAKE2b-256 | ce1353c2ab6ac27804769314554a062e0651a44db2360be47e21cf0a29d202ee |
Provenance
The following attestation bundles were made for traceloop_sdk-0.33.12-py3-none-any.whl
:
Publisher: GitHub
- Repository: traceloop/openllmetry
- Workflow: release.yml
-
Statement type: https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
traceloop_sdk-0.33.12-py3-none-any.whl
- Subject digest:
d47a474afbf4a68ff38a702dbaca7b17d2d4f0b0e14dc2f1560b6bdd3859ac75
- Transparency log index: 148749603
- Transparency log integration time:
- Predicate type: