recombee_api_client 2.2.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +28 -14
- data/lib/recombee_api_client.rb +2 -2
- data/lib/recombee_api_client/api/add_bookmark.rb +5 -2
- data/lib/recombee_api_client/api/add_cart_addition.rb +5 -2
- data/lib/recombee_api_client/api/add_detail_view.rb +5 -2
- data/lib/recombee_api_client/api/add_purchase.rb +5 -2
- data/lib/recombee_api_client/api/add_rating.rb +5 -2
- data/lib/recombee_api_client/api/add_search_synonym.rb +72 -0
- data/lib/recombee_api_client/api/delete_all_search_synonyms.rb +47 -0
- data/lib/recombee_api_client/api/delete_search_synonym.rb +50 -0
- data/lib/recombee_api_client/api/list_search_synonyms.rb +59 -0
- data/lib/recombee_api_client/api/recommend_items_to_item.rb +50 -17
- data/lib/recombee_api_client/api/recommend_items_to_user.rb +52 -15
- data/lib/recombee_api_client/api/recommend_next_items.rb +69 -0
- data/lib/recombee_api_client/api/recommend_users_to_item.rb +41 -13
- data/lib/recombee_api_client/api/recommend_users_to_user.rb +44 -16
- data/lib/recombee_api_client/api/search_items.rb +178 -0
- data/lib/recombee_api_client/api/set_view_portion.rb +5 -2
- data/lib/recombee_api_client/api/user_based_recommendation.rb +1 -1
- data/lib/recombee_api_client/version.rb +1 -1
- metadata +9 -4
@@ -11,21 +11,26 @@ module RecombeeApiClient
|
|
11
11
|
#
|
12
12
|
#It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
|
13
13
|
#
|
14
|
+
#The returned users are sorted by similarity (first user being the most similar).
|
15
|
+
#
|
14
16
|
class RecommendUsersToUser < ApiRequest
|
15
|
-
attr_reader :user_id, :count, :
|
17
|
+
attr_reader :user_id, :count, :scenario, :cascade_create, :return_properties, :included_properties, :filter, :booster, :logic, :diversity, :min_relevance, :rotation_rate, :rotation_time, :expert_settings, :return_ab_group
|
16
18
|
attr_accessor :timeout
|
17
19
|
attr_accessor :ensure_https
|
18
20
|
|
19
21
|
##
|
20
22
|
# * *Required arguments*
|
21
|
-
# - +user_id+ -> User to
|
23
|
+
# - +user_id+ -> User to whom we find similar users
|
22
24
|
# - +count+ -> Number of users to be recommended (N for the top-N recommendation).
|
23
25
|
#
|
24
26
|
# * *Optional arguments (given as hash optional)*
|
25
|
-
# - +
|
26
|
-
#
|
27
|
+
# - +scenario+ -> Scenario defines a particular application of recommendations. It can be for example "homepage", "cart" or "emailing".
|
28
|
+
#
|
29
|
+
#You can set various settings to the [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com). You can also see performance of each scenario in the Admin UI separately, so you can check how well each application performs.
|
30
|
+
#
|
31
|
+
#The AI which optimizes models in order to get the best results may optimize different scenarios separately, or even use different models in each of the scenarios.
|
32
|
+
#
|
27
33
|
# - +cascadeCreate+ -> If the user does not exist in the database, returns a list of non-personalized recommendations and creates the user in the database. This allows for example rotations in the following recommendations for that user, as the user will be already known to the system.
|
28
|
-
# - +scenario+ -> Scenario defines a particular application of recommendations. It can be for example "homepage", "cart" or "emailing". You can see each scenario in the UI separately, so you can check how well each application performs. The AI which optimizes models in order to get the best results may optimize different scenarios separately, or even use different models in each of the scenarios.
|
29
34
|
# - +returnProperties+ -> With `returnProperties=true`, property values of the recommended users are returned along with their IDs in a JSON dictionary. The acquired property values can be used for easy displaying the recommended users.
|
30
35
|
#
|
31
36
|
#Example response:
|
@@ -48,8 +53,9 @@ module RecombeeApiClient
|
|
48
53
|
# "sex": "M"
|
49
54
|
# }
|
50
55
|
# }
|
51
|
-
# ]
|
52
|
-
#
|
56
|
+
# ],
|
57
|
+
# "numberNextRecommsCalls": 0
|
58
|
+
# }
|
53
59
|
#```
|
54
60
|
#
|
55
61
|
# - +includedProperties+ -> Allows to specify, which properties should be returned when `returnProperties=true` is set. The properties are given as a comma-separated list.
|
@@ -72,13 +78,29 @@ module RecombeeApiClient
|
|
72
78
|
# "country": "CAN"
|
73
79
|
# }
|
74
80
|
# }
|
75
|
-
# ]
|
81
|
+
# ],
|
82
|
+
# "numberNextRecommsCalls": 0
|
76
83
|
# }
|
77
84
|
#```
|
78
85
|
#
|
86
|
+
# - +filter+ -> Boolean-returning [ReQL](https://docs.recombee.com/reql.html) expression which allows you to filter recommended items based on the values of their attributes.
|
87
|
+
#
|
88
|
+
#Filters can be also assigned to a [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com).
|
89
|
+
#
|
90
|
+
# - +booster+ -> Number-returning [ReQL](https://docs.recombee.com/reql.html) expression which allows you to boost recommendation rate of some items based on the values of their attributes.
|
91
|
+
#
|
92
|
+
#Boosters can be also assigned to a [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com).
|
93
|
+
#
|
94
|
+
# - +logic+ -> Logic specifies particular behavior of the recommendation models. You can pick tailored logic for your domain and use case.
|
95
|
+
#See [this section](https://docs.recombee.com/recommendation_logics.html) for list of available logics and other details.
|
96
|
+
#
|
97
|
+
#The difference between `logic` and `scenario` is that `logic` specifies mainly behavior, while `scenario` specifies the place where recommendations are shown to the users.
|
98
|
+
#
|
99
|
+
#Logic can be also set to a [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com).
|
100
|
+
#
|
79
101
|
# - +diversity+ -> **Expert option** Real number from [0.0, 1.0] which determines how much mutually dissimilar should the recommended users be. The default value is 0.0, i.e., no diversification. Value 1.0 means maximal diversification.
|
80
102
|
#
|
81
|
-
# - +minRelevance+ -> **Expert option** Specifies the threshold of how much relevant must the recommended users be. Possible values one of: "low", "medium", "high".
|
103
|
+
# - +minRelevance+ -> **Expert option** Specifies the threshold of how much relevant must the recommended users be. Possible values one of: "low", "medium", "high".
|
82
104
|
#
|
83
105
|
# - +rotationRate+ -> **Expert option** If your users browse the system in real-time, it may easily happen that you wish to offer them recommendations multiple times. Here comes the question: how much should the recommendations change? Should they remain the same, or should they rotate? Recombee API allows you to control this per-request in backward fashion. You may penalize an user for being recommended in the near past. For the specific user, `rotationRate=1` means maximal rotation, `rotationRate=0` means absolutely no rotation. You may also use, for example `rotationRate=0.2` for only slight rotation of recommended users.
|
84
106
|
#
|
@@ -86,27 +108,31 @@ module RecombeeApiClient
|
|
86
108
|
#
|
87
109
|
# - +expertSettings+ -> Dictionary of custom options.
|
88
110
|
#
|
111
|
+
# - +returnAbGroup+ -> If there is a custom AB-testing running, return name of group to which the request belongs.
|
112
|
+
#
|
89
113
|
#
|
90
114
|
def initialize(user_id, count, optional = {})
|
91
115
|
@user_id = user_id
|
92
116
|
@count = count
|
93
117
|
optional = normalize_optional(optional)
|
94
|
-
@filter = optional['filter']
|
95
|
-
@booster = optional['booster']
|
96
|
-
@cascade_create = optional['cascadeCreate']
|
97
118
|
@scenario = optional['scenario']
|
119
|
+
@cascade_create = optional['cascadeCreate']
|
98
120
|
@return_properties = optional['returnProperties']
|
99
121
|
@included_properties = optional['includedProperties']
|
122
|
+
@filter = optional['filter']
|
123
|
+
@booster = optional['booster']
|
124
|
+
@logic = optional['logic']
|
100
125
|
@diversity = optional['diversity']
|
101
126
|
@min_relevance = optional['minRelevance']
|
102
127
|
@rotation_rate = optional['rotationRate']
|
103
128
|
@rotation_time = optional['rotationTime']
|
104
129
|
@expert_settings = optional['expertSettings']
|
130
|
+
@return_ab_group = optional['returnAbGroup']
|
105
131
|
@optional = optional
|
106
132
|
@timeout = 50000
|
107
133
|
@ensure_https = false
|
108
134
|
@optional.each do |par, _|
|
109
|
-
fail UnknownOptionalParameter.new(par) unless ["
|
135
|
+
fail UnknownOptionalParameter.new(par) unless ["scenario","cascadeCreate","returnProperties","includedProperties","filter","booster","logic","diversity","minRelevance","rotationRate","rotationTime","expertSettings","returnAbGroup"].include? par
|
110
136
|
end
|
111
137
|
end
|
112
138
|
|
@@ -119,17 +145,19 @@ module RecombeeApiClient
|
|
119
145
|
def body_parameters
|
120
146
|
p = Hash.new
|
121
147
|
p['count'] = @count
|
122
|
-
p['filter'] = @optional['filter'] if @optional.include? 'filter'
|
123
|
-
p['booster'] = @optional['booster'] if @optional.include? 'booster'
|
124
|
-
p['cascadeCreate'] = @optional['cascadeCreate'] if @optional.include? 'cascadeCreate'
|
125
148
|
p['scenario'] = @optional['scenario'] if @optional.include? 'scenario'
|
149
|
+
p['cascadeCreate'] = @optional['cascadeCreate'] if @optional.include? 'cascadeCreate'
|
126
150
|
p['returnProperties'] = @optional['returnProperties'] if @optional.include? 'returnProperties'
|
127
151
|
p['includedProperties'] = @optional['includedProperties'] if @optional.include? 'includedProperties'
|
152
|
+
p['filter'] = @optional['filter'] if @optional.include? 'filter'
|
153
|
+
p['booster'] = @optional['booster'] if @optional.include? 'booster'
|
154
|
+
p['logic'] = @optional['logic'] if @optional.include? 'logic'
|
128
155
|
p['diversity'] = @optional['diversity'] if @optional.include? 'diversity'
|
129
156
|
p['minRelevance'] = @optional['minRelevance'] if @optional.include? 'minRelevance'
|
130
157
|
p['rotationRate'] = @optional['rotationRate'] if @optional.include? 'rotationRate'
|
131
158
|
p['rotationTime'] = @optional['rotationTime'] if @optional.include? 'rotationTime'
|
132
159
|
p['expertSettings'] = @optional['expertSettings'] if @optional.include? 'expertSettings'
|
160
|
+
p['returnAbGroup'] = @optional['returnAbGroup'] if @optional.include? 'returnAbGroup'
|
133
161
|
p
|
134
162
|
end
|
135
163
|
|
@@ -0,0 +1,178 @@
|
|
1
|
+
#
|
2
|
+
# This file is auto-generated, do not edit
|
3
|
+
#
|
4
|
+
|
5
|
+
module RecombeeApiClient
|
6
|
+
require_relative 'request'
|
7
|
+
require_relative '../errors'
|
8
|
+
|
9
|
+
##
|
10
|
+
#Full-text personalized search. The results are based on the provided `searchQuery` and also on the user's past interactions (purchases, ratings, etc.) with the items (items more suitable for the user are preferred in the results).
|
11
|
+
#
|
12
|
+
#All the string and set item properties are indexed by the search engine.
|
13
|
+
#
|
14
|
+
#This endpoint should be used in a search box at your website/app. It can be called multiple times as the user is typing the query in order to get the most viable suggestions based on current state of the query, or once after submitting the whole query.
|
15
|
+
#
|
16
|
+
#The returned items are sorted by relevance (first item being the most relevant).
|
17
|
+
#
|
18
|
+
#Besides the recommended items, also a unique `recommId` is returned in the response. It can be used to:
|
19
|
+
#
|
20
|
+
#- Let Recombee know that this search was successful (e.g. user clicked one of the recommended items). See [Reported metrics](https://docs.recombee.com/admin_ui.html#reported-metrics).
|
21
|
+
#- Get subsequent search results when the user scrolls down or goes to the next page. See [Recommend Next Items](https://docs.recombee.com/api.html#recommend-next-items).
|
22
|
+
#
|
23
|
+
#It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
|
24
|
+
#
|
25
|
+
class SearchItems < ApiRequest
|
26
|
+
attr_reader :user_id, :search_query, :count, :scenario, :cascade_create, :return_properties, :included_properties, :filter, :booster, :logic, :expert_settings, :return_ab_group
|
27
|
+
attr_accessor :timeout
|
28
|
+
attr_accessor :ensure_https
|
29
|
+
|
30
|
+
##
|
31
|
+
# * *Required arguments*
|
32
|
+
# - +user_id+ -> ID of the user for whom personalized search will be performed.
|
33
|
+
# - +search_query+ -> Search query provided by the user. It is used for the full-text search.
|
34
|
+
# - +count+ -> Number of items to be returned (N for the top-N results).
|
35
|
+
#
|
36
|
+
# * *Optional arguments (given as hash optional)*
|
37
|
+
# - +scenario+ -> Scenario defines a particular search field in your user interface.
|
38
|
+
#
|
39
|
+
#You can set various settings to the [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com). You can also see performance of each scenario in the Admin UI separately, so you can check how well each field performs.
|
40
|
+
#
|
41
|
+
#The AI which optimizes models in order to get the best results may optimize different scenarios separately, or even use different models in each of the scenarios.
|
42
|
+
#
|
43
|
+
# - +cascadeCreate+ -> If the user does not exist in the database, returns a list of non-personalized search results and creates the user in the database. This allows for example rotations in the following recommendations for that user, as the user will be already known to the system.
|
44
|
+
# - +returnProperties+ -> With `returnProperties=true`, property values of the recommended items are returned along with their IDs in a JSON dictionary. The acquired property values can be used for easy displaying of the recommended items to the user.
|
45
|
+
#
|
46
|
+
#Example response:
|
47
|
+
#```
|
48
|
+
# {
|
49
|
+
# "recommId": "ce52ada4-e4d9-4885-943c-407db2dee837",
|
50
|
+
# "recomms":
|
51
|
+
# [
|
52
|
+
# {
|
53
|
+
# "id": "tv-178",
|
54
|
+
# "values": {
|
55
|
+
# "description": "4K TV with 3D feature",
|
56
|
+
# "categories": ["Electronics", "Televisions"],
|
57
|
+
# "price": 342,
|
58
|
+
# "url": "myshop.com/tv-178"
|
59
|
+
# }
|
60
|
+
# },
|
61
|
+
# {
|
62
|
+
# "id": "mixer-42",
|
63
|
+
# "values": {
|
64
|
+
# "description": "Stainless Steel Mixer",
|
65
|
+
# "categories": ["Home & Kitchen"],
|
66
|
+
# "price": 39,
|
67
|
+
# "url": "myshop.com/mixer-42"
|
68
|
+
# }
|
69
|
+
# }
|
70
|
+
# ],
|
71
|
+
# "numberNextRecommsCalls": 0
|
72
|
+
# }
|
73
|
+
#```
|
74
|
+
#
|
75
|
+
# - +includedProperties+ -> Allows to specify, which properties should be returned when `returnProperties=true` is set. The properties are given as a comma-separated list.
|
76
|
+
#
|
77
|
+
#Example response for `includedProperties=description,price`:
|
78
|
+
#```
|
79
|
+
# {
|
80
|
+
# "recommId": "a86ee8d5-cd8e-46d1-886c-8b3771d0520b",
|
81
|
+
# "recomms":
|
82
|
+
# [
|
83
|
+
# {
|
84
|
+
# "id": "tv-178",
|
85
|
+
# "values": {
|
86
|
+
# "description": "4K TV with 3D feature",
|
87
|
+
# "price": 342
|
88
|
+
# }
|
89
|
+
# },
|
90
|
+
# {
|
91
|
+
# "id": "mixer-42",
|
92
|
+
# "values": {
|
93
|
+
# "description": "Stainless Steel Mixer",
|
94
|
+
# "price": 39
|
95
|
+
# }
|
96
|
+
# }
|
97
|
+
# ],
|
98
|
+
# "numberNextRecommsCalls": 0
|
99
|
+
# }
|
100
|
+
#```
|
101
|
+
#
|
102
|
+
# - +filter+ -> Boolean-returning [ReQL](https://docs.recombee.com/reql.html) expression which allows you to filter recommended items based on the values of their attributes.
|
103
|
+
#
|
104
|
+
#Filters can be also assigned to a [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com).
|
105
|
+
#
|
106
|
+
# - +booster+ -> Number-returning [ReQL](https://docs.recombee.com/reql.html) expression which allows you to boost recommendation rate of some items based on the values of their attributes.
|
107
|
+
#
|
108
|
+
#Boosters can be also assigned to a [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com).
|
109
|
+
#
|
110
|
+
# - +logic+ -> Logic specifies particular behavior of the recommendation models. You can pick tailored logic for your domain and use case.
|
111
|
+
#See [this section](https://docs.recombee.com/recommendation_logics.html) for list of available logics and other details.
|
112
|
+
#
|
113
|
+
#The difference between `logic` and `scenario` is that `logic` specifies mainly behavior, while `scenario` specifies the place where recommendations are shown to the users.
|
114
|
+
#
|
115
|
+
#Logic can be also set to a [scenario](https://docs.recombee.com/scenarios.html) in the [Admin UI](https://admin.recombee.com).
|
116
|
+
#
|
117
|
+
# - +expertSettings+ -> Dictionary of custom options.
|
118
|
+
#
|
119
|
+
# - +returnAbGroup+ -> If there is a custom AB-testing running, return name of group to which the request belongs.
|
120
|
+
#
|
121
|
+
#
|
122
|
+
def initialize(user_id, search_query, count, optional = {})
|
123
|
+
@user_id = user_id
|
124
|
+
@search_query = search_query
|
125
|
+
@count = count
|
126
|
+
optional = normalize_optional(optional)
|
127
|
+
@scenario = optional['scenario']
|
128
|
+
@cascade_create = optional['cascadeCreate']
|
129
|
+
@return_properties = optional['returnProperties']
|
130
|
+
@included_properties = optional['includedProperties']
|
131
|
+
@filter = optional['filter']
|
132
|
+
@booster = optional['booster']
|
133
|
+
@logic = optional['logic']
|
134
|
+
@expert_settings = optional['expertSettings']
|
135
|
+
@return_ab_group = optional['returnAbGroup']
|
136
|
+
@optional = optional
|
137
|
+
@timeout = 3000
|
138
|
+
@ensure_https = false
|
139
|
+
@optional.each do |par, _|
|
140
|
+
fail UnknownOptionalParameter.new(par) unless ["scenario","cascadeCreate","returnProperties","includedProperties","filter","booster","logic","expertSettings","returnAbGroup"].include? par
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
# HTTP method
|
145
|
+
def method
|
146
|
+
:post
|
147
|
+
end
|
148
|
+
|
149
|
+
# Values of body parameters as a Hash
|
150
|
+
def body_parameters
|
151
|
+
p = Hash.new
|
152
|
+
p['searchQuery'] = @search_query
|
153
|
+
p['count'] = @count
|
154
|
+
p['scenario'] = @optional['scenario'] if @optional.include? 'scenario'
|
155
|
+
p['cascadeCreate'] = @optional['cascadeCreate'] if @optional.include? 'cascadeCreate'
|
156
|
+
p['returnProperties'] = @optional['returnProperties'] if @optional.include? 'returnProperties'
|
157
|
+
p['includedProperties'] = @optional['includedProperties'] if @optional.include? 'includedProperties'
|
158
|
+
p['filter'] = @optional['filter'] if @optional.include? 'filter'
|
159
|
+
p['booster'] = @optional['booster'] if @optional.include? 'booster'
|
160
|
+
p['logic'] = @optional['logic'] if @optional.include? 'logic'
|
161
|
+
p['expertSettings'] = @optional['expertSettings'] if @optional.include? 'expertSettings'
|
162
|
+
p['returnAbGroup'] = @optional['returnAbGroup'] if @optional.include? 'returnAbGroup'
|
163
|
+
p
|
164
|
+
end
|
165
|
+
|
166
|
+
# Values of query parameters as a Hash.
|
167
|
+
# name of parameter => value of the parameter
|
168
|
+
def query_parameters
|
169
|
+
params = {}
|
170
|
+
params
|
171
|
+
end
|
172
|
+
|
173
|
+
# Relative path to the endpoint
|
174
|
+
def path
|
175
|
+
"/{databaseId}/search/users/#{@user_id}/items/"
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
@@ -11,7 +11,7 @@ module RecombeeApiClient
|
|
11
11
|
#If you send new request with the same (`userId`, `itemId`, `sessionId`), the portion gets updated.
|
12
12
|
#
|
13
13
|
class SetViewPortion < ApiRequest
|
14
|
-
attr_reader :user_id, :item_id, :portion, :session_id, :timestamp, :cascade_create, :recomm_id
|
14
|
+
attr_reader :user_id, :item_id, :portion, :session_id, :timestamp, :cascade_create, :recomm_id, :additional_data
|
15
15
|
attr_accessor :timeout
|
16
16
|
attr_accessor :ensure_https
|
17
17
|
|
@@ -26,6 +26,7 @@ module RecombeeApiClient
|
|
26
26
|
# - +timestamp+ -> UTC timestamp of the rating as ISO8601-1 pattern or UTC epoch time. The default value is the current time.
|
27
27
|
# - +cascadeCreate+ -> Sets whether the given user/item should be created if not present in the database.
|
28
28
|
# - +recommId+ -> If this view portion is based on a recommendation request, `recommId` is the id of the clicked recommendation.
|
29
|
+
# - +additionalData+ -> A dictionary of additional data for the interaction.
|
29
30
|
#
|
30
31
|
def initialize(user_id, item_id, portion, optional = {})
|
31
32
|
@user_id = user_id
|
@@ -36,11 +37,12 @@ module RecombeeApiClient
|
|
36
37
|
@timestamp = optional['timestamp']
|
37
38
|
@cascade_create = optional['cascadeCreate']
|
38
39
|
@recomm_id = optional['recommId']
|
40
|
+
@additional_data = optional['additionalData']
|
39
41
|
@optional = optional
|
40
42
|
@timeout = 1000
|
41
43
|
@ensure_https = false
|
42
44
|
@optional.each do |par, _|
|
43
|
-
fail UnknownOptionalParameter.new(par) unless ["sessionId","timestamp","cascadeCreate","recommId"].include? par
|
45
|
+
fail UnknownOptionalParameter.new(par) unless ["sessionId","timestamp","cascadeCreate","recommId","additionalData"].include? par
|
44
46
|
end
|
45
47
|
end
|
46
48
|
|
@@ -59,6 +61,7 @@ module RecombeeApiClient
|
|
59
61
|
p['timestamp'] = @optional['timestamp'] if @optional.include? 'timestamp'
|
60
62
|
p['cascadeCreate'] = @optional['cascadeCreate'] if @optional.include? 'cascadeCreate'
|
61
63
|
p['recommId'] = @optional['recommId'] if @optional.include? 'recommId'
|
64
|
+
p['additionalData'] = @optional['additionalData'] if @optional.include? 'additionalData'
|
62
65
|
p
|
63
66
|
end
|
64
67
|
|
@@ -20,7 +20,7 @@ module RecombeeApiClient
|
|
20
20
|
|
21
21
|
##
|
22
22
|
# * *Required arguments*
|
23
|
-
# - +user_id+ -> ID of the user for
|
23
|
+
# - +user_id+ -> ID of the user for whom the personalized recommendations are to be generated.
|
24
24
|
# - +count+ -> Number of items to be recommended (N for the top-N recommendation).
|
25
25
|
#
|
26
26
|
# * *Optional arguments (given as hash optional)*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recombee_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Fiedler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -100,10 +100,12 @@ files:
|
|
100
100
|
- lib/recombee_api_client/api/add_item_property.rb
|
101
101
|
- lib/recombee_api_client/api/add_purchase.rb
|
102
102
|
- lib/recombee_api_client/api/add_rating.rb
|
103
|
+
- lib/recombee_api_client/api/add_search_synonym.rb
|
103
104
|
- lib/recombee_api_client/api/add_series.rb
|
104
105
|
- lib/recombee_api_client/api/add_user.rb
|
105
106
|
- lib/recombee_api_client/api/add_user_property.rb
|
106
107
|
- lib/recombee_api_client/api/batch.rb
|
108
|
+
- lib/recombee_api_client/api/delete_all_search_synonyms.rb
|
107
109
|
- lib/recombee_api_client/api/delete_bookmark.rb
|
108
110
|
- lib/recombee_api_client/api/delete_cart_addition.rb
|
109
111
|
- lib/recombee_api_client/api/delete_detail_view.rb
|
@@ -112,6 +114,7 @@ files:
|
|
112
114
|
- lib/recombee_api_client/api/delete_item_property.rb
|
113
115
|
- lib/recombee_api_client/api/delete_purchase.rb
|
114
116
|
- lib/recombee_api_client/api/delete_rating.rb
|
117
|
+
- lib/recombee_api_client/api/delete_search_synonym.rb
|
115
118
|
- lib/recombee_api_client/api/delete_series.rb
|
116
119
|
- lib/recombee_api_client/api/delete_user.rb
|
117
120
|
- lib/recombee_api_client/api/delete_user_property.rb
|
@@ -134,6 +137,7 @@ files:
|
|
134
137
|
- lib/recombee_api_client/api/list_item_ratings.rb
|
135
138
|
- lib/recombee_api_client/api/list_item_view_portions.rb
|
136
139
|
- lib/recombee_api_client/api/list_items.rb
|
140
|
+
- lib/recombee_api_client/api/list_search_synonyms.rb
|
137
141
|
- lib/recombee_api_client/api/list_series.rb
|
138
142
|
- lib/recombee_api_client/api/list_series_items.rb
|
139
143
|
- lib/recombee_api_client/api/list_user_bookmarks.rb
|
@@ -147,12 +151,14 @@ files:
|
|
147
151
|
- lib/recombee_api_client/api/merge_users.rb
|
148
152
|
- lib/recombee_api_client/api/recommend_items_to_item.rb
|
149
153
|
- lib/recombee_api_client/api/recommend_items_to_user.rb
|
154
|
+
- lib/recombee_api_client/api/recommend_next_items.rb
|
150
155
|
- lib/recombee_api_client/api/recommend_users_to_item.rb
|
151
156
|
- lib/recombee_api_client/api/recommend_users_to_user.rb
|
152
157
|
- lib/recombee_api_client/api/remove_from_group.rb
|
153
158
|
- lib/recombee_api_client/api/remove_from_series.rb
|
154
159
|
- lib/recombee_api_client/api/request.rb
|
155
160
|
- lib/recombee_api_client/api/reset_database.rb
|
161
|
+
- lib/recombee_api_client/api/search_items.rb
|
156
162
|
- lib/recombee_api_client/api/set_item_values.rb
|
157
163
|
- lib/recombee_api_client/api/set_user_values.rb
|
158
164
|
- lib/recombee_api_client/api/set_values.rb
|
@@ -180,8 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
186
|
- !ruby/object:Gem::Version
|
181
187
|
version: '0'
|
182
188
|
requirements: []
|
183
|
-
|
184
|
-
rubygems_version: 2.6.11
|
189
|
+
rubygems_version: 3.1.2
|
185
190
|
signing_key:
|
186
191
|
specification_version: 4
|
187
192
|
summary: Client for Recombee recommendation API
|