React Native Firebase
    Preparing search index...

    Safety setting that can be sent as part of request parameters.

    interface SafetySetting {
        category: HarmCategory;
        method?: HarmBlockMethod;
        threshold: HarmBlockThreshold;
    }
    Index

    Properties

    category: HarmCategory

    The harm block method.

    This property is only supported in the Vertex AI Gemini API (VertexAIBackend). When using the Gemini Developer API (GoogleAIBackend), an AIError will be thrown if this property is defined.