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).
The FirebaseApp this AI instance is associated with.
Signature:
app:FirebaseApp;
AI.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).
Signature:
backend:Backend;
AI.location
use AI.backend.location instead.
The location configured for this AI service instance, relevant for Vertex AI backends.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["An instance of the Firebase AI SDK.\n\nDo not create this instance directly. Instead, use [getAI()](./ai.md#getai_a94a413).\n\n**Signature:** \n\n export interface AI \n\nProperties\n\nAI.app\n\nThe [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) this [AI](./ai.ai.md#ai_interface) instance is associated with.\n\n**Signature:** \n\n app: FirebaseApp;\n\nAI.backend\n\nA [Backend](./ai.backend.md#backend_class) instance that specifies the configuration for the target backend, either the Gemini Developer API (using [GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)) or the Vertex AI Gemini API (using [VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class)).\n\n**Signature:** \n\n backend: Backend;\n\nAI.location\n\u003e | **Warning:** This API is now obsolete.\n\u003e\n\u003e use `AI.backend.location` instead.\n\u003e\n\u003e The location configured for this AI service instance, relevant for Vertex AI backends.\n\n**Signature:** \n\n location: string;"]]