Jewish Studies · AI

Which Bracha?

Type a food, or a whole table of them separated by commas. TypeSafe's Jev model doesn't rule on anything: it answers factual questions (what is this mostly made of? is the fruit still recognizable? is there real grain in it?) and the rules of brachot, written in code, do the rest.

Try:
A table:

How it works

  1. Ask. For each food, Jev answers four questions in one call: what it's mainly made of (bread, other grain food, rice, wine, another drink, tree fruit, produce of the ground, or something else), whether the produce is still in a recognizable form, whether wheat, barley, spelt, rye or oats is a real ingredient rather than a coating or thickener, and whether the fruit is one of the seven species.
  2. Rule. Code applies the rules: bread is Hamotzi; a significant grain ingredient makes it Mezonot; rice is Mezonot with Borei Nefashot after; wine is Hagafen; recognizable tree fruit is Ha'etz and produce of the ground Ha'adama; juiced, pureed or unrecognizable produce and everything else is Shehakol. After: Birkat Hamazon for bread, Al Hamichya / Al Hagefen / Al Ha'etz for grain, wine and the seven species, Borei Nefashot for the rest.
  3. Order. For a table of foods, code sorts the brachot rishonot in the usual order (Mezonot, Hagefen, Ha'etz, Ha'adama, Shehakol) and combines the after-brachot into one Al Hamichya and one Borei Nefashot.
  4. Flag. Jev returns probabilities, so when it's torn (is this granola bar mostly oats or mostly honey?) the page shows the other answer and what bracha it would lead to.

These are the general rules, as most Ashkenazi guides summarize them. Real cases turn on how much of each ingredient there is, what you're eating it for, whether it's part of a bread meal, and your family's custom, and authorities differ on many common foods. Use this to learn the reasoning, and ask your rav.

● The Workshop · weekly

Everything I build, in one email a week.

Torah tools, daf games and AI experiments, with the story behind each one. Sign up and this week’s issue arrives within the hour.