Repro scripts for submitting evaluations against OpenTelemetry LLM spans in Datadog LLM Observability.
otel_eval_repro.py— Sends an OTel LLM span and submits evals using a decimalspan_id.otel_eval_repro_hex.py— Same, but uses a hexspan_idin the eval payload. Evals do not appear on the span.
pip install opentelemetry-api opentelemetry-sdk opentelemetry-exporter-otlp-proto-http requests openai python-dotenv
cp .env.example .env # fill in DD_API_KEY and OPENAI_API_KEYpython otel_eval_repro.py
python otel_eval_repro_hex.py