Back when Jev first came out, one of the first use cases I thought of was for semantic search. Back when I was working on WDTBS back in December, one of the core issues I faced was that rerankers were just not very accurate or reliable (and the alternative, full on LLMs, was too expensive / wasteful to use at scale like this). Jev obviously solves a lot of those problems.
This project is a take two at my ideas from WDTBS: to build a search experience that’s fully centered around user-intent. I was primarily interested in exploring nongenerative search (ie direct quotes of original text, so the user is making conclusions on their own) and pure intent-driven queries (ie getting closer to asking questions that describe the curiosity most succinctly, without mind to how to structure the query for optimal retrieval). It does feel like the latter isn’t quite there yet (ie maybe you can eke out better performance with better structured questions), and the runtime is still a bit slow, but Jev definitely makes it closer to a more viable reality.
Most of the architecture is quite similar to WDTBS, but here’s the high-level gist:
- we export iMessages from
chat.dbusing open source tools into .txt files - we segment messages into rough chunks separated by conversation, via semantic heuristics, with metadata preserved
- we encode those chunks and set up endpoints for both semantic/dense and lexical/sparse search
- we build out a “query operator” agent that takes user queries and translates them into better dense / spase search queries
- we rank results using simple algorithms, and feed the top k to Jev for proper reranking