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
To integrate with the appnexus library, we need to create an AutomationManager class that manages interactions with any instance of our backends(for example Whisper, Recommendations, GCS, etc). The task involves designing and implementing the manager class to interact with our appnexus library's adapter and backend implementations.
Description and outcomes
Implement the AutomationManager class that interacts with the appnexus library
The AutomationManager should have the following methods to manage interaction with the recommendations backend;
generate_embedding(text) -> Vector
embedding_exists(embedding) -> Boolean
load_recommendations(embedding) -> []
cache_embeddings(embeddings) -> Vector
The AutomationManager class should be implemented within contentcuration/contentcuration/utils/automation_manager.py
The actual functionalities of these methods is out of scope of this task as they rely heavily on presence of the backends that are currently not available. Boilerplate will suffice, for now.
Accessibility requirements
Not applicable
Acceptance criteria
The AutomationManager class is designed to interact with the appnexus library's adapter and backend implementations.
The AutomationManager class has appropriate methods to generate, load, cache and check for embeddings
Unit tests to validate the correctness of methods in the AutomationManager
Documentation is added to guide on usages of the class and methods.
akolson
changed the title
Implement a manager class that interacts with the appnexus library.
Implement a manager class that interacts with the appnexus library
Sep 26, 2023
Overview
To integrate with the
appnexus
library, we need to create anAutomationManager
class that manages interactions with any instance of our backends(for example Whisper, Recommendations, GCS, etc). The task involves designing and implementing the manager class to interact with ourappnexus
library's adapter and backend implementations.Description and outcomes
generate_embedding(text) -> Vector
embedding_exists(embedding) -> Boolean
load_recommendations(embedding) -> []
cache_embeddings(embeddings) -> Vector
AutomationManager
class should be implemented withincontentcuration/contentcuration/utils/automation_manager.py
Accessibility requirements
Not applicable
Acceptance criteria
AutomationManager
class is designed to interact with theappnexus
library's adapter and backend implementations.AutomationManager
class has appropriate methods to generate, load, cache and check for embeddingsAutomationManager
Resources
#4302
The text was updated successfully, but these errors were encountered: