AI Model Cascade

A production-ready pattern for integrating AI models (specifically Google Gemini) with automatic fallback, retry logic, structured output via Zod schemas, and comprehensive error handling. Use when integrating AI/LLM APIs, need automatic fallback when models are overloaded, want type-safe structured responses, or building features requiring reliable AI generation.

diegosouzapw Updated 54 repo stars

File contents

diegosouzapw/awesome-omni-skill/tree/main/skills/machine-learning/ai-model-cascade commit 7a2a3cdbc5

Frequently asked questions

npx skillmds@latest add diegosouzapw/ai-model-cascade