React Native Firebase
    Preparing search index...

    Variable BackendTypeConst

    BackendType: {
        AGENT_PLATFORM: "AGENT_PLATFORM";
        GOOGLE_AI: "GOOGLE_AI";
        VERTEX_AI: "VERTEX_AI";
    } = ...

    An enum-like object containing constants that represent the supported backends for the Firebase AI SDK. This determines which backend service (Gemini Developer API or Agent Platform Gemini API) the SDK will communicate with.

    These values are assigned to the backendType property within the specific backend configuration objects (GoogleAIBackend or AgentPlatformBackend) to identify which service to target.

    Type Declaration

    • ReadonlyAGENT_PLATFORM: "AGENT_PLATFORM"

      Identifies the backend service for the Agent Platform Gemini API provided through Google Cloud. Use this constant when creating a AgentPlatformBackend configuration.

    • ReadonlyGOOGLE_AI: "GOOGLE_AI"

      Identifies the backend service for the Gemini Developer API (Google AI). Use this constant when creating a GoogleAIBackend configuration.

    • ReadonlyVERTEX_AI: "VERTEX_AI"

      Identifies the backend service for the Agent Platform Gemini API (formerly known as Vertex AI Gemini API) provided through Google Cloud. Use this constant when creating a VertexAIBackend configuration.

      Use AgentPlatformBackend instead.