Interface protos.google.ai.generativelanguage.v1beta.ISafetyRating (2.6.0)

Properties of a SafetyRating.

Package

@google-ai/generativelanguage

Properties

blocked

blocked?: (boolean|null);

SafetyRating blocked

category

category?: (google.ai.generativelanguage.v1beta.HarmCategory|keyof typeof google.ai.generativelanguage.v1beta.HarmCategory|null);

SafetyRating category

probability

probability?: (google.ai.generativelanguage.v1beta.SafetyRating.HarmProbability|keyof typeof google.ai.generativelanguage.v1beta.SafetyRating.HarmProbability|null);

SafetyRating probability