whylabs / llm-traceguard

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:Makefile 82.0%Language:Python 18.0%