GoogleAIBackend class
Stay organized with collections
Save and categorize content based on your preferences.
Configuration class for the Gemini Developer API.
Use this with AIOptions when initializing the AI service via getAI() to specify the Gemini Developer API as the backend.
Signature:
export declare class GoogleAIBackend extends Backend
Extends: Backend
Constructors
Constructor |
Modifiers |
Description |
(constructor)() |
|
Creates a configuration object for the Gemini Developer API backend. |
GoogleAIBackend.(constructor)
Creates a configuration object for the Gemini Developer API backend.
Signature:
constructor();
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["Configuration class for the Gemini Developer API.\n\nUse this with [AIOptions](./ai.aioptions.md#aioptions_interface) when initializing the AI service via [getAI()](./ai.md#getai_a94a413) to specify the Gemini Developer API as the backend.\n\n**Signature:** \n\n export declare class GoogleAIBackend extends Backend \n\n**Extends:** [Backend](./ai.backend.md#backend_class)\n\nConstructors\n\nGoogleAIBackend.(constructor)\n\nCreates a configuration object for the Gemini Developer API backend.\n\n**Signature:** \n\n constructor();"]]