feat: add solo and co-op taste profiles
Filter recommendation candidates and taste weights by play context, with taste_profile in the API, --taste in the CLI and a selector in the UI.
This commit is contained in:
1 parent
02af4bde09
commit
54a7b36aae
12 files changed
+105
-4
No files matched your search
@@ -39,6 +39,8 @@ def main():
|
||||
help="include games kept unplayed on purpose (status=nostalgia)")
|
||||
ap.add_argument("--allow-unknown", action="store_true",
|
||||
help="also consider games without any review/metacritic score")
|
||||
ap.add_argument("--taste", choices=sorted(reco.TASTE_PROFILES),
|
||||
help="play-context taste profile (solo/coop)")
|
||||
ap.add_argument("--json", action="store_true")
|
||||
args = ap.parse_args()
|
||||
|
||||
@@ -70,6 +72,7 @@ def main():
|
||||
mood, results = reco.recommend(
|
||||
con, mood, allowed_statuses=allowed, unplayed_only=args.unplayed_only,
|
||||
min_review=args.min_review, allow_unknown=args.allow_unknown, limit=args.limit,
|
||||
taste_profile=args.taste,
|
||||
)
|
||||
|
||||
if args.json:
|
||||
|
||||
Reference in new issue
Block a user