React Native Firebase
    Preparing search index...

    Options for initializing the AI service using getAI(). This allows specifying which backend to use (Gemini Developer API or Agent Platform Gemini API) and configuring its specific options (like location for Agent Platform).

    interface AIOptions {
        appCheck?: AppCheck | null;
        auth?: Auth | null;
        backend?: Backend;
        useLimitedUseAppCheckTokens?: boolean;
    }
    Index

    Properties

    appCheck?: AppCheck | null
    auth?: Auth | null
    backend?: Backend

    The backend configuration to use for the AI service instance. Defaults to the Gemini Developer API backend (GoogleAIBackend).

    useLimitedUseAppCheckTokens?: boolean

    Whether to use App Check limited use tokens. Defaults to false.