jkomoros / card-web

The web app behind thecompendium.cards
Apache License 2.0
46 stars 8 forks source link

Allow searching for cards similar to a query string using vector similarity #685

Open jkomoros opened 6 months ago

jkomoros commented 6 months ago

For users with AI permission, allow a toggle in search boxes that doesn't do a normal query based selection but a simlar to a text string.

Basically it makes a faux card of the current card-type filter, and then finds cards similar to that and shows those. By doing it this way, it will get all of the normal embedding dates and card-types stuff.

This will require a new configurable filter type that is a no-op if the user doesn't have the permission.