Skip to main content

recommendations.proto

path protobuffet/example/recommendations/v1/recommendations.proto

package protobuffet.example.recommendations.v1


Messages

ListRecommendationsRequest

Request to get product recommendations for a user.

NameTypeDescription
user_idstringUser to lookup recommendations for.
product_idsrepeated stringProduct IDs for the current user context that we are recommending for.

ListRecommendationsResponse

Response containing product recommendations.

NameTypeDescription
product_idsrepeated stringIDs referencing products that we recommend for the received request. See implementation docs for details on formatting.

Services

RecommendationService

Further product recommendations for user given a set of product IDs.

ListRecommendations

MethodListRecommendations
RequestListRecommendationsRequest
ResponseListRecommendationsResponse
DescriptionList recommendations for a given user and context.