An AI function: its name, what it does, its input and output fields; a language model writes the body. ai("mood", { description, input: { review: t.string() }, output: t.enum("happy", "unhappy") }).
ai("mood", { description, input: { review: t.string() }, output: t.enum("happy", "unhappy") })
An AI function: its name, what it does, its input and output fields; a language model writes the body.
ai("mood", { description, input: { review: t.string() }, output: t.enum("happy", "unhappy") }).