Reference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod.
When one result has multiple values with the same key, specify
which value is used to sort. By default, AGGREGATE_METHOD_LARGEST
is used when results are sorted in decreasing order,
AGGREGATE_METHOD_SMALLEST is used when results are sorted in
incresing order.
Constants
AGGREGATE_METHOD_UNSPECIFIED
value: 0 The unspecified aggregate method will be overwritten as mentioned
above.
AGGREGATE_METHOD_LARGEST
value: 1 Take the (lexicographical or numerical) largest value to sort.
AGGREGATE_METHOD_SMALLEST
value: 2 Take the (lexicographical or numerical) smallest value to sort.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-11 UTC."],[],[]]