UNPKG

ai-functions

Version:

A powerful TypeScript library for building AI-powered applications with template literals and structured outputs

8 lines 351 B
import { z } from 'zod'; export const createStreamSchema = () => z.object({ item: z.string().describe('A single item from the requested list') }); export const createArraySchema = () => z.object({ items: z.array(z.string().describe('An item from the requested list')).describe('List of requested items') }); //# sourceMappingURL=schemas.js.map