Skip to content

consider using find-bufo semantic search for custom tab #71

@zzstoatzz

Description

@zzstoatzz

the custom tab currently searches custom emojis by filename only. we could potentially use the new find-bufo semantic search API for much better search results - it does cross-modal search with hybrid vector + BM25 search.

benefits:

  • semantic search ("chilly bufo" would find winter/cold themed bufos)
  • better than just filename matching
  • already deployed and working

potential issue:

  • custom tab may contain non-bufo GIFs
  • find-bufo API only knows about bufos from bufo.zone
  • would need to handle cases where custom emoji isn't in the bufo index

api:

POST https://find-bufo.fly.dev/api/search
{
  "query": "chilly",
  "top_k": 10
}

returns results with similarity scores. could fall back to filename search if no good matches found, or only use it for bufos.

source: https://git.tangled.sh/zzstoatzz.io/find-bufo

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions