public class ByProjectKeyRecommendationsGeneralCategoriesGet extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyRecommendationsGeneralCategoriesGet,GeneralCategoryRecommendationPagedQueryResponse>
This endpoint takes arbitrary product names or image URLs and generates recommendations from a general set of categories, which cover a broad range of industries. The full list of supported categories can be found here. These are independent of the categories that are actually defined in your project. The main purpose of this API is to provide a quick way to test the behavior of the category recommendations engine for different names and images. In contrast to the project-specific endpoint, this endpoint does not have activation criteria and is enabled for all projects.
| Constructor and Description |
|---|
ByProjectKeyRecommendationsGeneralCategoriesGet(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient,
String projectKey) |
ByProjectKeyRecommendationsGeneralCategoriesGet(ByProjectKeyRecommendationsGeneralCategoriesGet t) |
addHeader, addQueryParam, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriStrings, send, sendBlocking, sendBlocking, withHeader, withHeaders, withoutHeader, withoutQueryParam, withQueryParam, withQueryParamspublic ByProjectKeyRecommendationsGeneralCategoriesGet(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient,
String projectKey)
public ByProjectKeyRecommendationsGeneralCategoriesGet(ByProjectKeyRecommendationsGeneralCategoriesGet t)
public io.vrap.rmf.base.client.ApiHttpRequest createHttpRequest()
createHttpRequest in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyRecommendationsGeneralCategoriesGet,GeneralCategoryRecommendationPagedQueryResponse>public io.vrap.rmf.base.client.ApiHttpResponse<GeneralCategoryRecommendationPagedQueryResponse> executeBlocking(Duration timeout)
executeBlocking in interface io.vrap.rmf.base.client.RequestCommand<GeneralCategoryRecommendationPagedQueryResponse>executeBlocking in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyRecommendationsGeneralCategoriesGet,GeneralCategoryRecommendationPagedQueryResponse>public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<GeneralCategoryRecommendationPagedQueryResponse>> execute()
execute in interface io.vrap.rmf.base.client.RequestCommand<GeneralCategoryRecommendationPagedQueryResponse>execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyRecommendationsGeneralCategoriesGet,GeneralCategoryRecommendationPagedQueryResponse>public String getProjectKey()
public void setProjectKey(String projectKey)
public ByProjectKeyRecommendationsGeneralCategoriesGet withProductImageUrl(String productImageUrl)
public ByProjectKeyRecommendationsGeneralCategoriesGet addProductImageUrl(String productImageUrl)
public ByProjectKeyRecommendationsGeneralCategoriesGet withProductName(String productName)
public ByProjectKeyRecommendationsGeneralCategoriesGet addProductName(String productName)
public ByProjectKeyRecommendationsGeneralCategoriesGet withLimit(Integer limit)
public ByProjectKeyRecommendationsGeneralCategoriesGet addLimit(Integer limit)
public ByProjectKeyRecommendationsGeneralCategoriesGet withOffset(Integer offset)
public ByProjectKeyRecommendationsGeneralCategoriesGet addOffset(Integer offset)
public ByProjectKeyRecommendationsGeneralCategoriesGet withConfidenceMin(Double confidenceMin)
public ByProjectKeyRecommendationsGeneralCategoriesGet addConfidenceMin(Double confidenceMin)
public ByProjectKeyRecommendationsGeneralCategoriesGet withConfidenceMax(Double confidenceMax)
public ByProjectKeyRecommendationsGeneralCategoriesGet addConfidenceMax(Double confidenceMax)