logoalt Hacker News

A single function Jev-like wrapper for LLMs, including vision models

53 points • by allanrbo • today at 4:20 AM • 8 comments • view on HN

Comments

TeMPOraL • today at 8:11 AM

Now this is how[0] we get some of the most magical Star Trek technology that eludes us to this day, such as sliding doors. Because if you notice, they work much, much better than real-life ones, because they seem to be doing something like this:

  if(within 10 meters of door then) {
    if(Jev(
       [A] Intends to go through the door
       [B] Passing by, loiters, or otherwise
       [C] Other
    ) == most definitely A) {
      // open doors, +/- identity/security check
    } else {
      // ignore
    }
  }
Keywords: ambient awareness, understanding of intent.

Most interactive tech on Star Trek is like this - from phasers to consoles to communicators to voice interactions with the ship's computer. The computer seems to be aware of the user and surrounding, and actively infers intent from context, to DWIM ("do what I mean") and when they mean it, instead of doing dumb things[1] on simple triggers.

--

[0] - The direction, not final implementation - surely we can work out how to do it more efficiently than wrapping around final stage of LLM. But the point is, multimodal.

[1] - Obviously it's a fictional show, but in this, both Watsonian and Doylist perspectives align: this is/portrays advanced technology, that Just Works and doesn't do stupid shit. Same intent recognition algorithm is there - fictionally in the computer, in reality in the minds of set operators.

prathje • today at 7:47 AM

Nice! I would love to use it for images as well. Then again is using Grammar-Based Decoding with a json response not the same? Is Jev just that with nice caching? Because then I have been using that already…

arcticbull • today at 8:01 AM

Ah sweet it’s like Jev but several order of magnitude more expensive, and slower too.

Havoc • today at 6:02 AM

Likely works even better with fireworks ai since they have proper grammar support

➕ show 1 reply
Mashimo • today at 7:22 AM

[A] Hotdog

[B] Not a hotdog

bicsi • today at 7:18 AM

Of course it works, Jev is nothing but an API breakthrough

➕ show 1 reply
thesuperevil • today at 5:56 AM

[flagged]

fr2029 • today at 7:21 AM

[dead]