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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

respan_instrumentation_ragas-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

respan_instrumentation_ragas-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file respan_instrumentation_ragas-0.1.0.tar.gz.

File metadata

  • Download URL: respan_instrumentation_ragas-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.12 Linux/6.17.0-35-generic

File hashes

Hashes for respan_instrumentation_ragas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05fca8dd498fa5dc5cc0aec9b9d859db37a1d98ad1bd8fd8a95fa0070128259d
MD5 7f844e9362c06a179927c17561f267e4
BLAKE2b-256 07cf04a4c1f54a6df1b3cb6d272033bbb448d1e91a156becfea5690e03cc31c1

See more details on using hashes here.

File details

Details for the file respan_instrumentation_ragas-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for respan_instrumentation_ragas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8bc7cd72ce1da4e9f53503b832bdf25f6ccab45d9b50ff35c4b9919105df227
MD5 bad81ff3bbcff081f0153e1952dbf711
BLAKE2b-256 e3b757d06d0b3072e228762041c96cfe7e095a6d8b3c541ba40add7e38048111

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 Sentry Error logging StatusPage Status page