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.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for trubrics_beta-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e86a0e255725d9c5cf386d328c33b46c96ff0f27493da30e3d1117473e6827fb |
|
MD5 | 0a84495a512e694a4fd6b9044e3b9bc4 |
|
BLAKE2b-256 | d5a1312c8d85f0ca2aab59eed721864b688069e8bb7b105071400a846097e3ba |