Python SDK to track events in Trubrics.
Project description
trubrics-sdk
[!IMPORTANT] We are currently in beta.
To track events:
trubrics = Trubrics(api_key="YOUR_TRUBRICS_API_KEY")
trubrics.track(
event="User prompt",
user_id="test_user_id",
properties={"$text": "Hello, Trubrics! Tell me a joke?", "$thread_id": "your thread id"},
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trubrics_beta-0.2.0.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for trubrics_beta-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee89ab1c9d7c6b4b587884bc96e5323b604c33990fa855a1b8ae377c20af6662 |
|
MD5 | 49018ec9dcffe9881c0ffdacdca99cff |
|
BLAKE2b-256 | 8541c84b1384ac8cc4277ff81bafd1d2a47a2b50a3599ed801e151f88d993c38 |