React Native Firebase
    Preparing search index...

    An instance of the Firebase AI SDK.

    Do not create this instance directly. Instead, use getAI().

    interface AI {
        app: ReactNativeFirebase.FirebaseApp;
        appCheck?: AppCheck | null;
        auth?: FirebaseAuthTypes.Module | null;
        backend: Backend;
        location: string;
        options?: AIOptions;
    }
    Index

    Properties

    The @firebase/app!FirebaseApp this AI instance is associated with.

    appCheck?: AppCheck | null
    backend: Backend

    A Backend instance that specifies the configuration for the target backend, either the Gemini Developer API (using GoogleAIBackend) or the Vertex AI Gemini API (using VertexAIBackend).

    location: string

    use AI.backend.location instead.

    The location configured for this AI service instance, relevant for Vertex AI backends.

    options?: AIOptions

    Options applied to this AI instance.