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

openmltelemetry-0.0.1.dev1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

openmltelemetry-0.0.1.dev1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file openmltelemetry-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: openmltelemetry-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.7 Darwin/23.1.0

File hashes

Hashes for openmltelemetry-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 3d51264057df3dfed46c667314dd18ed3707019549ac76666a65e37df7db6791
MD5 99b73954cb6d9bd896a8685f99988033
BLAKE2b-256 b9de7d48074e37f88e0b7ed883a55aa58e70d8794c0afb3c64fb324b7bfef0c3

See more details on using hashes here.

File details

Details for the file openmltelemetry-0.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for openmltelemetry-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae68cb20b959d48bc31664b443d7ddc81e068ce633c4461c7ee4fc38c16102e
MD5 d035bab02600dd3c9d81fefb41a0bb51
BLAKE2b-256 92d4d6b684532bc444195c87d55225ccb0c0b0ae7f44a61ab740d80c1d0fa033

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