LLM observability wrapper
Project description
infosrv-llm-observe
Lightweight instrumentation wrapper that sends traces to Phoenix observability.
Usage:
from infosrv_llm_observe import register, instrument
# optional: register explicitly (will also read PHOENIX_BASE_URL env var)
register(base_url="http://phoenix-host")
@instrument(project_id="UHJvamVjdDo1", user_id="alice", session_id="s1")
def call_llm(prompt: str):
# call your model...
return "response..."
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
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 infosrv_llm_observe-0.1.3.tar.gz.
File metadata
- Download URL: infosrv_llm_observe-0.1.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec9df110f5cd2a38ef4346e3e1ff9b26ad9c236bdba6c4c4ee1f53ed03c78725
|
|
| MD5 |
7ef90c2c6c4fe9870faf772c53dde32a
|
|
| BLAKE2b-256 |
f2281fbf3ede2bda575cebca1ce1a213a681ba63a83bf759ffde76094954d207
|
File details
Details for the file infosrv_llm_observe-0.1.3-py3-none-any.whl.
File metadata
- Download URL: infosrv_llm_observe-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
336cf00452a9e4054dfd468ddb41a1fd19c91dcc2a95e0dc4670840f5512760e
|
|
| MD5 |
3c64c4530c46c01907f33d1e41b229c3
|
|
| BLAKE2b-256 |
9d9229e002f8de2f28ae5adeb1194613b8980e616b2a78de5aee61efa0a7cd13
|