PublishersModelsResource class

Constructors

PublishersModelsResource.new(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.
get(String name, {String? huggingFaceToken, bool? isHuggingFaceModel, String? languageCode, String? view, String? $fields}) Future<GoogleCloudAiplatformV1PublisherModel>
Gets a Model Garden publisher model.
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.
streamGenerateContent(GoogleCloudAiplatformV1GenerateContentRequest request, String model, {String? $fields}) Future<GoogleCloudAiplatformV1GenerateContentResponse>
Generate content with multimodal inputs with streaming support.
toString() String
A string representation of this object.
inherited

Operators

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