enableCategoryFilterLevel property

String? enableCategoryFilterLevel
getter/setter pair

Whether to add additional category filters on the similar-items model.

If not specified, we enable it by default. Allowed values are: * no-category-match: No additional filtering of original results from the model and the customer's filters. * relaxed-category-match: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

Implementation

core.String? enableCategoryFilterLevel;