zod-prompt
v0.0.0
Published
TypeScript framework by Dawn (Dawn.so) that uses Zod to validate AI prompts and responses. Turns AI prompts into isolated, unit-testable code.
Downloads
3
Maintainers
Readme
zod-prompt
TypeScript framework by Dawn that uses Zod to validate AI prompts and responses. Built as an extension of the Vercel AI SDK to turn AI prompts into isolated, unit-testable code.
Features
- Type-safe AI prompt construction using TypeScript and Zod
- Validate both input prompts and AI responses by wrapping the Vercel AI SDK
- Start treating prompts like code
- Seamless integration with Vercel AI SDK and Zod schemas
- Provides real partial streaming option for Anthropic
- It's literally just Typescript
Installation
npm install zod-prompt
# or
yarn add zod-prompt
# or
pnpm add zod-promptAbout
Developed by Dawn as an extension of the Vercel AI SDK to make AI development more robust and testable. See the Vercel AI SDK documentation for more information.
