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

llmtraces-0.0.1.dev0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

llmtraces-0.0.1.dev0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmtraces-0.0.1.dev0.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 llmtraces-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 f5504035b7f45142db607a73bf100956e2f6338fe182c0545883e6471a1eeaf2
MD5 fef85ac9fbf1538894b0caafdcf74402
BLAKE2b-256 216e77d28678604860d65a869dbc3ab4d648c3f11a326fa123845f72f4881d52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llmtraces-0.0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.9.7 Darwin/23.1.0

File hashes

Hashes for llmtraces-0.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 5044e18e9d6101366b992c3ddadb61bba666451124ea5c19355f1a8ff9c24355
MD5 9299595dc92d61214a7af40fb5b62435
BLAKE2b-256 f078f04c2528ac5da9d1a420dd2678ae75c3be89af71239b09847bc7346a7937

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