evaluators icon indicating copy to clipboard operation
evaluators copied to clipboard

feat: add Arize, Langfuse, and Braintrust integration packages

Open adnanrhussain opened this issue 5 months ago • 0 comments

Summary

Adds three speculative observability integration packages under integrations/:

  • arize-python → learning-commons-arize-scorers — PhoenixTracingAdapter (OTel decorator)
  • langfuse-python → learning-commons-langfuse-scorers — LangfuseTracingAdapter (Langfuse v2)
  • braintrust-python → learning-commons-braintrust-scorers — BraintrustAnthropicAdapter + BraintrustProxyAdapter

Stacked on #100 (LLMGeneratorProtocol).

Status: parked pending per-vendor validation

The Inspect integration was split out into #100's child inspect PR because it has a real consumer and can be validated now. These three have no current consumer and carry validation risk that doc-reading can't resolve (real vendor accounts needed). Plan is to revisit and likely split this PR further by vendor.

High-confidence fix already applied: Langfuse generation.end() now uses usage_details (the deprecated usage kwarg is silently dropped in recent 2.x).

Deferred to per-vendor revisit (need real-account validation):

  • Arize: span name llm.generate → chat; missing llm.system attribute
  • Braintrust: invalid default model ID, proxy base_url trailing slash, init() → init_logger(), braintrust>=0.0.100 bound too low
  • Publish workflows + release-as cleanup for all three

🤖 Generated with Claude Code

adnanrhussain avatar Jun 11 '26 22:06 adnanrhussain