Skip to content

Jev directory

Truffler

Truffler is a Ruby gem that labels Rails records with TypeSafe Jev when saved, stores answers as numbers, and turns search queries into label filters and boosts. It returns plain Ruby data and ships no UI components.
Reading time
2 min
Published by
Community
Added
Nov 23, 2026

Highlights

  • Labels records with TypeSafe Jev when saved, storing each answer as a number in truffler_labels.
  • Encodes search queries the same way, ranking records in one SQL query with a weighted dot product.
  • Requires Ruby 3.2+, Rails 7.2 or 8.x, a job backend, and a cache store supporting increment.
  • Smart search reranks top candidates in chunks, streaming into Strong, Possible, and Unlikely buckets.
  • Ships no UI components; returns plain Ruby data for your controllers and views.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: LinkedIn bookmarks search

X: 1,066 reaction videos, searchable

X: Intent-based search in a Chrome extension

X: Margin, bookmark search

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai