Wait, You Didn't Write Any Functions?
After watching an agent analyze your expenses, you're fascinated by how it calculated totals, identified patterns, and created budget recommendations all in one go.
Later, your roommate asks: "How was that possible without you giving it any functions directly?"
You realize it's because the agent wasn't just calling functions; it was writing and running code.
What's the main difference between how a code agent and a function-calling agent would solve a task?
Cet exercice fait partie du cours
AI Agents with Hugging Face smolagents
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
