Matthew
@matthew
Can any devs help me find a solution for this? Building a game and when a user guesses word X, I want to see if it's sufficiently similar to word Y. could I deploy some kind of mini, local LLM inside my codebase for this? ideally don't want to wait / pay each time for an openai api call.
7 replies
15 recasts
23 reactions
christopher
@christopher
if you have a Postgres instance you could leverage ILIKE for semantic search unless you need it to be lexically similar.
2 replies
0 recast
5 reactions
redbeard
@hbrbssa.eth
Or you could pg-trgm, lot faster if you can make indexes https://www.postgresql.org/docs/current/pgtrgm.html
0 reply
0 recast
0 reaction