this post was submitted on 28 Mar 2025
33 points (100.0% liked)
Programming
19290 readers
110 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
An alternative could be to use something like postgres with the pgvector extension to do semantic searches instead of just text-based searches. You can generate embeddings for the text content of the story, then do the same for "sci-fi" or something, and see if searching that way gets you most of the way there.
Generating embeddings locally might take some time though if you don't have hardware suitable for it.
Is there anything Postgres doesn’t do?
I would say run Doom, but I'm not confident in that. At the very least, Skyrim hasn't been rereleased on it yet.