Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infosrv_llm_observe-0.1.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infosrv_llm_observe-0.1.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for infosrv_llm_observe-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ec9df110f5cd2a38ef4346e3e1ff9b26ad9c236bdba6c4c4ee1f53ed03c78725
MD5 7ef90c2c6c4fe9870faf772c53dde32a
BLAKE2b-256 f2281fbf3ede2bda575cebca1ce1a213a681ba63a83bf759ffde76094954d207

See more details on using hashes here.

File details

Details for the file infosrv_llm_observe-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for infosrv_llm_observe-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 336cf00452a9e4054dfd468ddb41a1fd19c91dcc2a95e0dc4670840f5512760e
MD5 3c64c4530c46c01907f33d1e41b229c3
BLAKE2b-256 9d9229e002f8de2f28ae5adeb1194613b8980e616b2a78de5aee61efa0a7cd13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page