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.2.tar.gz
(47.9 kB
view details)
Built Distribution
File details
Details for the file syntrac_sdk-0.0.2.tar.gz
.
File metadata
- Download URL: syntrac_sdk-0.0.2.tar.gz
- Upload date:
- Size: 47.9 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 | a2776729b6b2de820846077b57d2d8cc47aab4025baf0a88787d0c6f9a48db5f |
|
MD5 | 57fe2e046abede5ce57af4b0170504cf |
|
BLAKE2b-256 | d363e50ed3254eaea462d6e500ae4c142edc76ab2f25f2c403d595f091c6f8b1 |
File details
Details for the file syntrac_sdk-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: syntrac_sdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 24.4 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 | e7fb8359832ef53985e08b8b0dd53c9b1f536635c06040829e00dd80cbdef36f |
|
MD5 | 34ec0e2c08631a98cf2c6e7429ebf550 |
|
BLAKE2b-256 | 22e9b82ff1003ba87ab1aba76f1a593f6ad4f4c2be7bea96445e7e50b6b32270 |