Skip to content

Prodloop Observability SDK

Use the Prodloop SDK to programmatically evaluate AI voice bot calls from Python.

What you can do

  • send call recordings for evaluation
  • choose exactly which metrics to compute
  • pass thresholds and extraction schema
  • receive structured JSON responses

Install

pip install prodloop-observability-sdk

Quickstart

from prodloop import ProdloopClient, EvaluationParameter

client = ProdloopClient(api_key="sk_live_...")

result = client.evaluate_call(
    audio_file_path="call.mp3",
    parameters=[
        EvaluationParameter.E2E_RESPONSE_TIME,
        EvaluationParameter.HALLUCINATION,
    ],
    thresholds={"e2e_response_time_max_ms": 800},
)

print(result)