Search & retrieval
grep for what code does, not what it's called. Semantic code search powered by TypeSafe Jev.
s.start("Checking the key against api.typesafe.ai");The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
beautytrue/falsebeauty content?
catchoicecategory?
skincare — skinother — elseimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
beauty: { type: 'boolean', instructions: 'beauty content?' },
cat: { type: 'choice', instructions: 'category?',
criteria: { skincare: 'skin', other: 'else' } },
},
});from src/jgrep.ts:224
oktrue/falseIs the state the word ping?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
ok: { type: 'boolean', instructions: 'Is the state the word ping?' },
},
});