Skip to main content

Respan instrumentation for Ragas

This package traces Ragas 0.4 evaluation and experiment surfaces as canonical Respan task spans. It covers evaluate, aevaluate, single-turn and multi-turn metrics, experiment runs, and each experiment row. Sync and async failures keep their original exception while OpenTelemetry records error status and exception details.

from respan_instrumentation_ragas import RagasInstrumentor

instrumentor = RagasInstrumentor(capture_content=True)
instrumentor.activate()

capture_content=False keeps operation names and lifecycle/error metadata but omits evaluation inputs and outputs. Activation and deactivation are idempotent, and patches are removed only after the final active instrumentor is deactivated.

Metadata

Release files for respan-instrumentation-ragas 0.1.1

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

Source distribution (sdist)

Source distribution for respan-instrumentation-ragas 0.1.1
File Size Uploaded
respan_instrumentation_ragas-0.1.1.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for respan-instrumentation-ragas 0.1.1
File Interpreter ABI Platform
respan_instrumentation_ragas-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / respan_instrumentation_ragas-0.1.1.tar.gz

Download URL respan_instrumentation_ragas-0.1.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
792d36601815bf36eb74b50e3634ad017c251c58b0190d66e9684924aa031d7e
BLAKE2b-256 checksum
How to use checksums
a028d01c7a536fb850d5dc2cdb94bac8c48b0b2b1af127932f139b65e3fbbca9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / respan_instrumentation_ragas-0.1.1-py3-none-any.whl

Download URL respan_instrumentation_ragas-0.1.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b9c984a29d10f0cea00ac20e181a69fefa12563401c134b24e3130b63618566
BLAKE2b-256 checksum
How to use checksums
7482519f732c55057652ff1f6c47e39205bffb4b7382b4a0fbfd4489b19cc771
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

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