Installation
Configuration
Attributs de span
Chaque appelrail.eval() émet un span avec ces attributs :
| Attribut | Type | Description |
|---|---|---|
rail.score | float | Score RAIL global |
rail.confidence | float | Confiance dans le score |
rail.mode | string | basic ou deep |
rail.credits_consumed | float | Crédits consommés |
rail.from_cache | bool | Si le résultat était mis en cache |
rail.dim.{name}.score | float | Score par dimension |
rail.dim.{name}.confidence | float | Confiance par dimension |
Visualisation des traces
Les spans RAIL s’intègrent à tout backend compatible OTEL : Jaeger, Tempo, Honeycomb, Datadog, New Relic ou Langfuse.http://localhost:16686 pour voir les traces.