AI & Machine Learning
AI Persistence/Build Prisma Adapter
Use when an app already runs Prisma and needs TanStack AI chat persistence — writes a chat-persistence.ts into the app against its existing PrismaClient and schema.prisma. Covers the four models, BigInt timestamps, JSON-as-string columns, upsert-with-empty-update idempotency, and model renaming.
- Publisher / source
- TanStack/ai (found on GitHub top repositories)
- Upstream record
- TanStack/ai
- Version
- Version 1
- Published
- Publication review
- Approved for publication
- Content fingerprint
afdd7d41d98cd5fa5f2d64297dfd048be963439330a023c90b0e0a40959ec06b