Musolyze / table_config.json
Danialebrat's picture
adding interaction matrix
58eea56
{
"interactions":
{
"description": "This table contains interaction history of the users with all the Musora content.",
"source": "Snowflake",
"cols": ["user_id", "content_id", "brand","TIMESTAMP", "EVENT_TEXT", "CONTENT_TYPE", "DIFFICULTY"],
"query": "select * from ONLINE_RECSYS.PREPROCESSED.RECSYS_INTEACTIONS where brand = '{brand}'"
},
"contents":
{
"description": "This table contains information about Musora contents.",
"source": "Snowflake",
"cols": ["content_id", "brand", "content_title", "content_type", "content_description", "artist", "difficulty", "STYLE", "TOPIC","published_at"],
"query": "select * from ONLINE_RECSYS.PREPROCESSED.CONTENTS where brand = '{brand}'"
},
"users":
{
"description": "This table contains information about Musora users.",
"source": "Snowflake",
"cols": ["USER_ID", "BRAND", "DIFFICULTY", "SELF_REPORT_DIFFICULTY", "USER_PROFILE", "PERMISSION","EXPIRATION_DATE"],
"query": "select * from ONLINE_RECSYS.PREPROCESSED.USERS where brand = '{brand}'"
},
"interaction_matrix":
{
"description": "This table contains interaction metrics that shows every user-content pair with a relationship score from 0 to 1",
"source": "Snowflake",
"cols": ["USER_ID", "CONTENT_ID","BRAND", "CONTENT_TYPE","DIFFICULTY", "INTERACTION_COUNT", "LAST_INTERACTION"],
"query": "select * from ONLINE_RECSYS.PREPROCESSED.INTERACTION_MATRIX where brand = '{brand}'"
}
}