React Native Firebase
    Preparing search index...

    Reason that a candidate finished.

    Index

    Enumeration Members

    BLOCKLIST: "BLOCKLIST"

    The candidate content contained forbidden terms.

    MALFORMED_FUNCTION_CALL: "MALFORMED_FUNCTION_CALL"

    The function call generated by the model was invalid.

    MAX_TOKENS: "MAX_TOKENS"

    The maximum number of tokens as specified in the request was reached.

    OTHER: "OTHER"

    Unknown reason.

    PROHIBITED_CONTENT: "PROHIBITED_CONTENT"

    The candidate content potentially contained prohibited content.

    RECITATION: "RECITATION"

    The candidate content was flagged for recitation reasons.

    SAFETY: "SAFETY"

    The candidate content was flagged for safety reasons.

    SPII: "SPII"

    The candidate content potentially contained Sensitive Personally Identifiable Information (SPII).

    STOP: "STOP"

    Natural stop point of the model or provided stop sequence.