Hi, I'm trying to create a RecommendItemsToUser request and set the returnProperties to true, but the valuesAreSet field in the recommendation response always comes as false.
When i try to execute recommendation.getValues() it always throws an IllegalStateException.
I checked the response body from the Api call and it does not contain the valuesAreSet property in the payload.
Recombee Api Response Payload:
{"recommId": "8b904849-19ad-47d9-90f2-b024ca67726f", "recomms": [{"values": {"manufacturer_code": 1}, "id": "123"}]}
Request:
final RecommendItemsToUser cf = new RecommendItemsToUser("CF", 5)
.setReturnProperties(true);
Reactions are currently unavailable
Hi, I'm trying to create a RecommendItemsToUser request and set the returnProperties to true, but the valuesAreSet field in the recommendation response always comes as false.
When i try to execute recommendation.getValues() it always throws an IllegalStateException.
I checked the response body from the Api call and it does not contain the valuesAreSet property in the payload.
Recombee Api Response Payload:
{"recommId": "8b904849-19ad-47d9-90f2-b024ca67726f", "recomms": [{"values": {"manufacturer_code": 1}, "id": "123"}]}
Request:
final RecommendItemsToUser cf = new RecommendItemsToUser("CF", 5) .setReturnProperties(true);