Skip to main content

End-to-end observability with built-in security guardrails.

Project description

llm-traceguard

llm-traceguard is an open-source Python library that provides Open Telemetry integration with Large Language Models (LLMs). It is designed to facilitate tracing and safeguarding applications that leverage LLMs, ensuring better monitoring and reliability.

Features

  • Easy integration with Open Telemetry for LLM applications.
  • Real-time tracing and monitoring of LLM-based systems.
  • Enhanced safeguards and insights for your LLM applications.

Installation

To install llm-traceguard, simply use pip:

pip install llm-traceguard

Usage 🚀

Here's a basic example of how to use llm-traceguard in your project:

import llm_traceguard

llm_traceguard.instrument()

Requirements 📋

  • Python 3.8 or higher
  • opentelemetry-api
  • opentelemetry-sdk

Contributing 👐

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License 📄

llm-traceguard is licensed under the Apache-2.0 License. See LICENSE for more details.

Contact 📧

For support or any questions, feel free to contact us at support@whylabs.ai.

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

llm_traceguard-0.0.1.dev0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

llm_traceguard-0.0.1.dev0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file llm_traceguard-0.0.1.dev0.tar.gz.

File metadata

  • Download URL: llm_traceguard-0.0.1.dev0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.10 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for llm_traceguard-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 1e3bc1494569e26ea7e10c5452ab9bd3568cfe7164947a59107343cee382744e
MD5 d73faaca408a7a05e394463d107ae87c
BLAKE2b-256 67c48603c4f4b78d4dc06a744509939dc5c2fbcfab8fbe97ba19c1fbfd27d60c

See more details on using hashes here.

File details

Details for the file llm_traceguard-0.0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: llm_traceguard-0.0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.10 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for llm_traceguard-0.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e4817a7b3cc6c176116bd8b6708c658e1f316019b70302c343be379e78c0bb0
MD5 d430c8a45aa51cfc05ead730909ea6f0
BLAKE2b-256 8240c473b78e629e7e5dad69bda5f0467274e2a7a6efce4922215254724cd14f

See more details on using hashes here.

Supported by

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