FirebaseAILogic Framework Reference

Guardrails

struct Guardrails : Sendable, Equatable

Settings for controlling how potentially harmful content is blocked or flagged by the model.

Guardrails are roughly equivalent to SafetySettings for Gemini models. For more details, see the Apple documentation.