Skip to content

Rank More like this by how closely prompts match - #162

Merged
aashu2006 merged 1 commit into
mainfrom
feat/better-related-prompts
Oct 31, 2026
Merged

aashu2006 merged 1 commit into
mainfrom
feat/better-related-prompts

Conversation

@aashu2006

Copy link
Copy Markdown
Member

It took the first matches among the 50 newest prompts, and any single
shared tag counted. Since most prompts have photoshoot or solo, 66 of 92
prompts showed the same four suggestions, and only 21 prompts were ever
suggested at all.

Prompts now score on the tags they share, with rarer tags counting for
more, and ties go to the newest. Opening venom now suggests Tony,
Spiderman and BATMAN rather than whatever was posted last. On live data,
nearly every prompt now gets its own list, and 83 of 92 prompts get
suggested somewhere.

It took the first matches among the 50 newest prompts, and any single
shared tag counted. Since most prompts have photoshoot or solo, 66 of 92
prompts showed the same four suggestions, and only 21 prompts were ever
suggested at all.

Prompts now score on the tags they share, with rarer tags counting for
more, and ties go to the newest. Opening venom now suggests Tony,
Spiderman and BATMAN rather than whatever was posted last. On live data,
nearly every prompt now gets its own list, and 83 of 92 prompts get
suggested somewhere.
@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

So far, Strix has reviewed 14 pull requests across this workspace.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 79f78e50-fffb-4277-917e-246396903e9c
Commits

Reviewing files that changed from the base of the PR and between 2e842a1 and 3461174.

Files selected for processing: 3
  • src/lib/relatedPrompts.test.ts
  • src/lib/relatedPrompts.ts
  • src/pages/PromptDetail.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@aashu2006
aashu2006 merged commit df9e9fe into main Oct 31, 2026
14 checks passed
@aashu2006
aashu2006 deleted the feat/better-related-prompts branch October 31, 2026 10:11

This branch was successfully deployed

1 active deployment
Preview — 34611744 Deployed Oct 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant