React Native Firebase
    Preparing search index...

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

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

    Properties

    appCheck?: AppCheck | 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.