Skip to content

Commit 94ff4ca

Browse files
author
twitter-team
committedApr 14, 2023
Open-sourcing Topic Social Proof Service
Topic Social Proof Service (TSPS) delivers highly relevant topics tailored to a user's interests by analyzing topic preferences, such as following or unfollowing, and employing semantic annotations and other machine learning models.
1 parent 138bb51 commit 94ff4ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3489
-0
lines changed
 

‎topic-social-proof/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Topic Social Proof Service (TSPS)
2+
=================
3+
4+
**Topic Social Proof Service** (TSPS) serves as a centralized source for verifying topics related to Timelines and Notifications. By analyzing user's topic preferences, such as following or unfollowing, and employing semantic annotations and tweet embeddings from SimClusters, or other machine learning models, TSPS delivers highly relevant topics tailored to each user's interests.
5+
6+
For instance, when a tweet discusses Stephen Curry, the service determines if the content falls under topics like "NBA" and/or "Golden State Warriors" while also providing relevance scores based on SimClusters Embedding. Additionally, TSPS evaluates user-specific topic preferences to offer a comprehensive list of available topics, only those the user is currently following, or new topics they have not followed but may find interesting if recommended on specific product surfaces.
7+
8+

‎topic-social-proof/server/BUILD

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
jvm_binary(
2+
name = "bin",
3+
basename = "topic-social-proof",
4+
main = "com.twitter.tsp.TopicSocialProofStratoFedServerMain",
5+
runtime_platform = "java11",
6+
tags = [
7+
"bazel-compatible",
8+
],
9+
dependencies = [
10+
"strato/src/main/scala/com/twitter/strato/logging/logback",
11+
"topic-social-proof/server/src/main/resources",
12+
"topic-social-proof/server/src/main/scala/com/twitter/tsp",
13+
],
14+
)
15+
16+
# Aurora Workflows build phase convention requires a jvm_app named with ${project-name}-app
17+
jvm_app(
18+
name = "topic-social-proof-app",
19+
archive = "zip",
20+
binary = ":bin",
21+
tags = [
22+
"bazel-compatible",
23+
],
24+
)

0 commit comments

Comments
 (0)
Please sign in to comment.