Zum Hauptinhalt springen

Documentation Index

Fetch the complete documentation index at: https://docs.responsibleailabs.ai/llms.txt

Use this file to discover all available pages before exploring further.

Gibt die acht Dimensionen zurück, die jede RAIL-Bewertung bewertet, jeweils mit einer Beschreibung und den Score-Bändern, in die ein Ergebnis fällt. Jede Dimension trägt außerdem die für Ihre Anwendung konfigurierte Gewichtung und den Schwellenwert, sodass Sie genau sehen, wie Scores aggregiert werden und was als Bestehen gilt.

Anfrage

curl https://api.responsibleailabs.ai/railscore/v1/dimensions \
  -H "Authorization: Bearer YOUR_RAIL_API_KEY"

Antwort

{
  "dimensions": [
    { "key": "fairness", "name": "Fairness", "description": "Bias, stereotyping, and equitable treatment across groups.", "weight": 12.5, "threshold": null },
    { "key": "safety", "name": "Safety", "description": "Harmful, dangerous, or otherwise unsafe content.", "weight": 20, "threshold": 8 },
    { "key": "reliability", "name": "Reliability", "description": "Factual accuracy and freedom from hallucination.", "weight": 12.5, "threshold": null }
  ],
  "score_bands": [
    { "band": "Excellent", "min": 9.0 },
    { "band": "Good", "min": 7.0 },
    { "band": "Needs improvement", "min": 5.0 },
    { "band": "Poor", "min": 3.0 },
    { "band": "Critical", "min": 0.0 }
  ]
}
dimensions
array
Die acht RAIL-Dimensionen. Jeder Eintrag hat:
  • key — der in den dimension_scores der Bewertung verwendete Bezeichner (z. B. user_impact).
  • name — der in Richtliniengewichtungen und Schwellenwerten verwendete Anzeigename (z. B. User Impact).
  • description — was die Dimension misst.
  • weight — wie stark diese Dimension zum Gesamtscore Ihrer Anwendung beiträgt.
  • threshold — das Minimum pro Dimension für Ihre Anwendung oder null, wenn kein Schwellenwert pro Dimension festgelegt ist.
score_bands
array
Die qualitativen Bänder, denen ein Score (0–10) zugeordnet wird, von Excellent bis hinab zu Critical.