EndpointsResource class
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.
-
fetchPredictOperation(GoogleCloudAiplatformV1FetchPredictOperationRequest request, String endpoint, {String? $fields})
→ Future<GoogleLongrunningOperation>
-
Fetch an asynchronous online prediction operation.
-
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.
-
predictLongRunning(GoogleCloudAiplatformV1PredictLongRunningRequest request, String endpoint, {String? $fields})
→ Future<GoogleLongrunningOperation>
-
request
- The metadata request object.
-
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