AIInference class
Configuration for making inference requests against Vertex AI models.
Constructors
- AIInference({String? endpoint, String? serviceAccountEmail, UnstructuredInference? unstructuredInference})
- AIInference.fromJson(Map json_)
Properties
- endpoint ↔ String?
-
An endpoint to a Vertex AI model of the form
projects/{project}/locations/{location}/endpoints/{endpoint}orprojects/{project}/locations/{location}/publishers/{publisher}/models/{model}.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccountEmail ↔ String?
-
The service account to use to make prediction requests against endpoints.
getter/setter pair
- unstructuredInference ↔ UnstructuredInference?
-
Requests and responses can be any arbitrary JSON object.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited