IniziaInizia gratis

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?

Questo esercizio fa parte del corso

AI Agents with Hugging Face smolagents

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio