You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to #4296, we need to create a RecommendationsAdapter that inherits the base Adapter class in the appnexus library. The RecommendationsAdapter should be able to make requests to the Recommendations backend to generate embeddings and get recommendations using its make_request method.
Description and outcomes
Create a new class RecommendationsAdapter that inherits Adapter:
Overview
In addition to #4296, we need to create a
RecommendationsAdapter
that inherits the base Adapter class in theappnexus
library. TheRecommendationsAdapter
should be able to make requests to theRecommendations
backend to generate embeddings and get recommendations using itsmake_request
method.Description and outcomes
RecommendationsAdapter
that inheritsAdapter
:generate embeddings
andget recommendations
methods that use themake_request()
method in the Backend classcontentcuration
app incontentcuration/contentcuration/utils/recommendations.py
Accessibility requirements
Not applicable
Acceptance criteria
RecommendationsAdapter
is created and it inherits theAdapter
class.make_request
method is called within thegenerate embedding
andget recommendations
methods.RecommendationsAdapter
logic.Resources
The text was updated successfully, but these errors were encountered: