Skip to main content

LLM observability wrapper

Project description

info-llm-observe

Lightweight instrumentation wrapper that sends traces to Phoenix observability.

Usage:

from info_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

info_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.

info_llm_observe-0.1.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file info_llm_observe-0.1.3.tar.gz.

File metadata

  • Download URL: info_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 info_llm_observe-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9eb5d339dd02888f4972a70174a91a9843c892c028b136ebe3a476f62d469674
MD5 48273226434f708e122f0e8954c642e5
BLAKE2b-256 24b2e4dfc124b07bca87c14cdae83ac2fe9e1f65f63b341cac78fe3c64e9c382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for info_llm_observe-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5a48fa01440245d517b76aba83fb32e75042fac22e578facf4538f7d2017bb
MD5 54a42aff0119214f096bb9914fc38a0d
BLAKE2b-256 73744d246dcb37e8a5e0a71299cdfd276d53fae819036247074ebb664b78332a

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