FirebaseVertexAI class
The entrypoint for FirebaseVertexAI.
- Inheritance
-
- Object
- PlatformInterface
- FirebasePluginPlatform
- FirebaseVertexAI
Properties
- app ↔ FirebaseApp
-
The
FirebaseApp
for this current FirebaseVertexAI instance.getter/setter pair - appCheck ↔ FirebaseAppCheck?
-
The optional
FirebaseAppCheck
for this current FirebaseVertexAI instance. https://firebase.google.com/docs/app-checkgetter/setter pair - auth ↔ FirebaseAuth?
-
The optional
FirebaseAuth
for this current FirebaseVertexAI instance.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- location ↔ String
-
The service location for this FirebaseVertexAI instance.
getter/setter pair
- options ↔ RequestOptions
-
Configuration parameters for sending requests to the backend.
getter/setter pair
- pluginConstants → Map
-
Returns any plugin constants this plugin app instance has initialized.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generativeModel(
{required String model, List< SafetySetting> ? safetySettings, GenerationConfig? generationConfig, Content? systemInstruction, List<Tool> ? tools, ToolConfig? toolConfig}) → GenerativeModel -
Create a GenerativeModel backed by the generative model named
model
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FirebaseVertexAI
-
Returns an instance using the default
FirebaseApp
.no setter
Static Methods
-
instanceFor(
{FirebaseApp? app, FirebaseAppCheck? appCheck, FirebaseAuth? auth, RequestOptions? options, String? location}) → FirebaseVertexAI -
Returns an instance using a specified
FirebaseApp
.