UNPKG

genpower

Version:

Unified TypeScript library to generate, validate, and structure AI model outputs

10 lines (9 loc) 301 B
import { ZodType } from "zod"; interface PromptOptions { includeObjective?: boolean; includeInstruction?: boolean; includeOutput?: boolean; includeExample?: boolean; } export declare function generatePromptFromSchema<T>(schema: ZodType<T>, options?: PromptOptions): string; export {};