Skip to content

Commit 3fba66d

Browse files
author
AWS
committed
Amazon Personalize Runtime Update: This release adds inference support for Recommenders.
1 parent 35746c8 commit 3fba66d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Personalize Runtime",
4+
"contributor": "",
5+
"description": "This release adds inference support for Recommenders."
6+
}

services/personalizeruntime/src/main/resources/codegen-resources/service-2.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{"shape":"InvalidInputException"},
4040
{"shape":"ResourceNotFoundException"}
4141
],
42-
"documentation":"<p>Returns a list of recommended items. The required input depends on the recipe type used to create the solution backing the campaign, as follows:</p> <ul> <li> <p>RELATED_ITEMS - <code>itemId</code> required, <code>userId</code> not used</p> </li> <li> <p>USER_PERSONALIZATION - <code>itemId</code> optional, <code>userId</code> required</p> </li> </ul> <note> <p>Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.</p> </note>",
42+
"documentation":"<p>Returns a list of recommended items. For campaigns, the campaign's Amazon Resource Name (ARN) is required and the required user and item input depends on the recipe type used to create the solution backing the campaign as follows:</p> <ul> <li> <p>USER_PERSONALIZATION - <code>userId</code> required, <code>itemId</code> not used</p> </li> <li> <p>RELATED_ITEMS - <code>itemId</code> required, <code>userId</code> not used</p> </li> </ul> <note> <p>Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.</p> </note> <p> For recommenders, the recommender's ARN is required and the required item and user input depends on the use case (domain-based recipe) backing the recommender. For information on use case requirements see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/domain-use-cases.html\">Choosing recommender use cases</a>. </p>",
4343
"idempotent":true
4444
}
4545
},
@@ -131,7 +131,6 @@
131131
},
132132
"GetRecommendationsRequest":{
133133
"type":"structure",
134-
"required":["campaignArn"],
135134
"members":{
136135
"campaignArn":{
137136
"shape":"Arn",
@@ -160,6 +159,10 @@
160159
"filterValues":{
161160
"shape":"FilterValues",
162161
"documentation":"<p>The values to use when filtering recommendations. For each placeholder parameter in your filter expression, provide the parameter name (in matching case) as a key and the filter value(s) as the corresponding value. Separate multiple values for one parameter with a comma. </p> <p>For filter expressions that use an <code>INCLUDE</code> element to include items, you must provide values for all parameters that are defined in the expression. For filters with expressions that use an <code>EXCLUDE</code> element to exclude items, you can omit the <code>filter-values</code>.In this case, Amazon Personalize doesn't use that portion of the expression to filter recommendations.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/personalize/latest/dg/filter.html\">Filtering Recommendations</a>.</p>"
162+
},
163+
"recommenderArn":{
164+
"shape":"Arn",
165+
"documentation":"<p>The Amazon Resource Name (ARN) of the recommender to use to get recommendations. Provide a recommender ARN if you created a Domain dataset group with a recommender for a domain use case.</p>"
163166
}
164167
}
165168
},
@@ -168,7 +171,7 @@
168171
"members":{
169172
"itemList":{
170173
"shape":"ItemList",
171-
"documentation":"<p>A list of recommendations sorted in ascending order by prediction score. There can be a maximum of 500 items in the list.</p>"
174+
"documentation":"<p>A list of recommendations sorted in descending order by prediction score. There can be a maximum of 500 items in the list.</p>"
172175
},
173176
"recommendationId":{
174177
"shape":"RecommendationID",

0 commit comments

Comments
 (0)