Progettare applicazioni basate su AI implica scegliere l'approccio AI giusto, gestire le caratteristiche uniche dell'AI (non-determinismo, costo, latenza, errori) e progettare per l'affidabilità attorno a un AI intrinsecamente imperfetto. Combina l'ingegneria del software con considerazioni specifiche dell'AI.
Scegliere l'approccio AI
→ PROMPTING (LLM APIs) → for most LLM tasks (simplest); good prompts go far
→ RAG → to ground answers in your own/current DATA (reduce hallucination)
→ FINE-TUNING → for specific behavior/style prompting can't achieve
→ TRADITIONAL ML → for structured prediction/classification with data
→ PRE-BUILT services → vision, speech, etc. (don't reinvent)
→ match the approach to the problem (often: prompting + RAG for LLM apps)
