diff --git a/google/cloud/automl/v1/prediction_service.proto b/google/cloud/automl/v1/prediction_service.proto index d12f9276..b7b69cc2 100644 --- a/google/cloud/automl/v1/prediction_service.proto +++ b/google/cloud/automl/v1/prediction_service.proto @@ -46,42 +46,38 @@ service PredictionService { // returned in the response. // Available for following ML scenarios, and their expected request payloads: // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - //
AutoML Vision ClassificationAn image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
AutoML Vision Object DetectionAn image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
AutoML Natural Language ClassificationA TextSnippet up to 60,000 characters, UTF-8 encoded or a document in - // .PDF, .TIF or .TIFF format with size upto 2MB.
AutoML Natural Language Entity ExtractionA TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document - // in .PDF, .TIF or .TIFF format with size upto 20MB.
AutoML Natural Language Sentiment AnalysisA TextSnippet up to 60,000 characters, UTF-8 encoded or a document in - // .PDF, .TIF or .TIFF format with size upto 2MB.
AutoML TranslationA TextSnippet up to 25,000 characters, UTF-8 encoded.
AutoML TablesA row with column values matching + // AutoML Vision Classification + // + // * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. + // + // AutoML Vision Object Detection + // + // * An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. + // + // AutoML Natural Language Classification + // + // * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in + // .PDF, .TIF or .TIFF format with size upto 2MB. + // + // AutoML Natural Language Entity Extraction + // + // * A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document + // in .PDF, .TIF or .TIFF format with size upto 20MB. + // + // AutoML Natural Language Sentiment Analysis + // + // * A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in + // .PDF, .TIF or .TIFF format with size upto 2MB. + // + // AutoML Translation + // + // * A TextSnippet up to 25,000 characters, UTF-8 encoded. + // + // AutoML Tables + // + // * A row with column values matching // the columns of the model, up to 5MB. Not available for FORECASTING // `prediction_type`. - //
rpc Predict(PredictRequest) returns (PredictResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/models/*}:predict" @@ -135,14 +131,14 @@ message PredictRequest { // Additional domain-specific parameters, any string must be up to 25000 // characters long. // - //

AutoML Vision Classification

+ // AutoML Vision Classification // // `score_threshold` // : (float) A value from 0.0 to 1.0. When the model // makes predictions for an image, it will only produce results that have // at least this confidence score. The default is 0.5. // - //

AutoML Vision Object Detection

+ // AutoML Vision Object Detection // // `score_threshold` // : (float) When Model detects objects on the image, @@ -154,7 +150,7 @@ message PredictRequest { // boxes returned. The default is 100. The // number of returned bounding boxes might be limited by the server. // - //

AutoML Tables

+ // AutoML Tables // // `feature_importance` // : (boolean) Whether @@ -185,12 +181,12 @@ message PredictResponse { // Additional domain-specific prediction response metadata. // - //

AutoML Vision Object Detection

+ // AutoML Vision Object Detection // // `max_bounding_box_count` // : (int64) The maximum number of bounding boxes to return per image. // - //

AutoML Natural Language Sentiment Analysis

+ // AutoML Natural Language Sentiment Analysis // // `sentiment_score` // : (float, deprecated) A value between -1 and 1, @@ -224,7 +220,7 @@ message BatchPredictRequest { // Additional domain-specific parameters for the predictions, any string must // be up to 25000 characters long. // - //

AutoML Natural Language Classification

+ // AutoML Natural Language Classification // // `score_threshold` // : (float) A value from 0.0 to 1.0. When the model @@ -232,14 +228,14 @@ message BatchPredictRequest { // that have at least this confidence score. The default is 0.5. // // - //

AutoML Vision Classification

+ // AutoML Vision Classification // // `score_threshold` // : (float) A value from 0.0 to 1.0. When the model // makes predictions for an image, it will only produce results that // have at least this confidence score. The default is 0.5. // - //

AutoML Vision Object Detection

+ // AutoML Vision Object Detection // // `score_threshold` // : (float) When Model detects objects on the image, @@ -250,7 +246,7 @@ message BatchPredictRequest { // : (int64) The maximum number of bounding // boxes returned per image. The default is 100, the // number of bounding boxes returned might be limited by the server. - //

AutoML Video Intelligence Classification

+ // AutoML Video Intelligence Classification // // `score_threshold` // : (float) A value from 0.0 to 1.0. When the model @@ -288,7 +284,7 @@ message BatchPredictRequest { // type, the quality of it depends on training data, but there are no // metrics provided to describe that quality. // - //

AutoML Video Intelligence Object Tracking

+ // AutoML Video Intelligence Object Tracking // // `score_threshold` // : (float) When Model detects objects on video frames, @@ -314,12 +310,12 @@ message BatchPredictRequest { message BatchPredictResult { // Additional domain-specific prediction response metadata. // - //

AutoML Vision Object Detection

+ // AutoML Vision Object Detection // // `max_bounding_box_count` // : (int64) The maximum number of bounding boxes returned per image. // - //

AutoML Video Intelligence Object Tracking

+ // AutoML Video Intelligence Object Tracking // // `max_bounding_box_count` // : (int64) The maximum number of bounding boxes returned per frame.