Syntrac Software Development Kit (SDK) for Python
Project description
syntrac-sdk
Syntrac’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 Syntrac, or to your existing observability stack.
Syntrac.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
syntrac_sdk-0.0.4.tar.gz
(47.1 kB
view details)
Built Distribution
File details
Details for the file syntrac_sdk-0.0.4.tar.gz
.
File metadata
- Download URL: syntrac_sdk-0.0.4.tar.gz
- Upload date:
- Size: 47.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.6 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b43c3b542480ee8786f84e1a5208caaa752739e7051883737ba787e4e4fd8a9 |
|
MD5 | afead969597a4490d91bd2577c81c122 |
|
BLAKE2b-256 | c1a183a9b5ad258e3ac02b1c9dcc721b9748aa2681823448ee0aa7a719fcba25 |
File details
Details for the file syntrac_sdk-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: syntrac_sdk-0.0.4-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.6 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a51c5ffa34f32118cb22a5539466bc58b801f126641608ab543c748d1d1606 |
|
MD5 | a4b02eb0ca51ec75c5d0688beb996eda |
|
BLAKE2b-256 | 13c57d72c4d8e69947c22ed8b71cfc4e081ba4c93004ba2ffb3393f6a1c68ef6 |