A Python logger for HoneyHive
Project description
HoneyHive Logger
A Python logger for HoneyHive that helps you track and monitor your AI applications.
Installation
pip install honeyhive-logger
Usage
from honeyhive_logger import start, log, update
# Start a new session
session_id = start(
api_key="your-api-key",
project="your-project"
)
# Log an event
event_id = log(
session_id=session_id,
event_name="model_inference",
event_type="model",
inputs={"prompt": "Hello world"},
outputs={"response": "Hi there!"}
)
# Update an event with additional data
update(
event_id=event_id, # Can also pass session_id to update a session
feedback={"rating": 5},
metrics={"latency": 100}
)
Documentation
For detailed documentation, please visit https://docs.honeyhive.ai
License
MIT License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file honeyhive_logger-0.0.6.tar.gz.
File metadata
- Download URL: honeyhive_logger-0.0.6.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
577d481332ebcbe73153ffbdf93fb4cdc5c5ab3b8dbb18573e708ba5abb96a40
|
|
| MD5 |
aa855ea605c3c952c18cf08f52c8cb9a
|
|
| BLAKE2b-256 |
9bdc0e404c22fbfa6f2c75c0c4044e0ebc36604c9e017952fecd2a72626ddebb
|
File details
Details for the file honeyhive_logger-0.0.6-py3-none-any.whl.
File metadata
- Download URL: honeyhive_logger-0.0.6-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94919cbe27093b32cb4aca174680e0a503425f6325ebba14dab053bb585b0a1c
|
|
| MD5 |
500af0fe30035203436bfee06946ec7d
|
|
| BLAKE2b-256 |
f898fb73c7f05b47b4e86947c852cdaf54a679060d013777d01e7c8c81fcf5ba
|