Skip to main content

Lightweight instrumentation wrapper for Phoenix observability (LLM helper).

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.0.tar.gz (30.3 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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: info_llm_observe-0.1.0.tar.gz
  • Upload date:
  • Size: 30.3 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.0.tar.gz
Algorithm Hash digest
SHA256 acbb2d694bf5c77713868b1e6268adda906ff59069ab4094cafbb098d117ac8d
MD5 2696539de8d6083cbb1b1c69cc06cbee
BLAKE2b-256 8a0f7e5e89c7734f953f5ab80d60b1625a187a68beb2495ece6c6e24ab30a018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for info_llm_observe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43a197dc706cf88db4c5ae2dead68949c1edb17bc747bcd1c991968d537bb67d
MD5 630699348e37985deaa5c14972f601b8
BLAKE2b-256 48cf05653f89b6e045685b130f88c0c194ec172ba98eb1c8aca670d6e58da287

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