Interface SafetyRating (1.8.0)

Safety rating corresponding to the generated content.

Package

@google-cloud/vertexai

Properties

category

category?: HarmCategory;

The harm category. HarmCategory

probability

probability?: HarmProbability;

The harm probability. HarmProbability

probabilityScore

probabilityScore?: number;

The harm probability score.

severity

severity?: HarmSeverity;

The harm severity.level HarmSeverity

severityScore

severityScore?: number;

The harm severity score.