ProjectsLocationsPublishersModelsResource class

Constructors

ProjectsLocationsPublishersModelsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeTokens(GoogleCloudAiplatformV1ComputeTokensRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1ComputeTokensResponse>
Return a list of tokens based on the input text.
countTokens(GoogleCloudAiplatformV1CountTokensRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1CountTokensResponse>
Perform a token counting.
generateContent(GoogleCloudAiplatformV1GenerateContentRequest request, String model, {String? $fields}) Future<GoogleCloudAiplatformV1GenerateContentResponse>
Generate content with multimodal inputs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predict(GoogleCloudAiplatformV1PredictRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1PredictResponse>
Perform an online prediction.
rawPredict(GoogleCloudAiplatformV1RawPredictRequest request, String endpoint, {String? $fields}) Future<GoogleApiHttpBody>
Perform an online prediction with an arbitrary HTTP payload.
serverStreamingPredict(GoogleCloudAiplatformV1StreamingPredictRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1StreamingPredictResponse>
Perform a server-side streaming online prediction request for Vertex LLM streaming.
streamGenerateContent(GoogleCloudAiplatformV1GenerateContentRequest request, String model, {String? $fields}) Future<GoogleCloudAiplatformV1GenerateContentResponse>
Generate content with multimodal inputs with streaming support.
streamRawPredict(GoogleCloudAiplatformV1StreamRawPredictRequest request, String endpoint, {String? $fields}) Future<GoogleApiHttpBody>
Perform a streaming online prediction with an arbitrary HTTP payload.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited