-
Notifications
You must be signed in to change notification settings - Fork 58
Content Filtering
Yuzhang Hu edited this page Mar 21, 2024
·
1 revision
Users can define the filtering threshold to tune whether they want to see:
- Either more content but may contain less relevant content
- Or less content but highly relevant content
For each category we defined in the Index-Reddit, we can tune the threshold from the environment file build/.env
# In build/.env
...
# Value Format: Category:threshold[,Category2:threshold2,...]
REDDIT_FILTER_MIN_SCORES=Game:4.5,AI:5
After modification, restart the service:
make init && make stop && make deploy && make start
For each Tweet list we defined in the Index-Tweets, we can tune the threshold from the environment file build/.env
# In build/.env
...
# Value Format: ListName:threshold[,ListName2:threshold2,...]
TWITTER_FILTER_MIN_SCORES=Famous:4.5,AI:5
After modification, restart the service:
make init && make stop && make deploy && make start