Skip to main content

rag-forge-observability

OpenTelemetry tracing and query drift detection for the RAG-Forge toolkit.

Installation

pip install rag-forge-observability

Usage

from rag_forge_observability.drift import DriftDetector, DriftBaseline

baseline = DriftBaseline(embeddings=[[1.0, 0.0, 0.0]])
detector = DriftDetector(threshold=0.15)
report = detector.analyze(current_embeddings=[[0.9, 0.1, 0.0]], baseline=baseline)
print(f"Drift detected: {report.is_drifting}")

Features

  • OpenTelemetry tracing for all RAG pipeline stages
  • Query drift detection with baseline comparison
  • Centroid-based cosine distance analysis

License

MIT

Metadata

Release files for rag-forge-observability 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rag-forge-observability 0.2.3
File Size Uploaded
rag_forge_observability-0.2.3.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rag-forge-observability 0.2.3
File Interpreter ABI Platform
rag_forge_observability-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / rag_forge_observability-0.2.3.tar.gz

Download URL rag_forge_observability-0.2.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
740d9f12970c3fe666709001ec721231df78b37cf0cecce948ac558987561afe
BLAKE2b-256 checksum
How to use checksums
25728072890837077833c4b8b641625073337450ca980324adc77f333f54efe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.

Transparency log

Release files / rag_forge_observability-0.2.3-py3-none-any.whl

Download URL rag_forge_observability-0.2.3-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1e42cc63fd4889b46f028982639e45fc5c01d70ec2914f2ab52b934d82a044f
BLAKE2b-256 checksum
How to use checksums
9947c7cc7a0196b5303a9bf37149cb57cb6ebb4cced7f58714ff52df8606ebd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page